<?php
/***************************************************************************
- * Copyright (C) 2003-2004 Polytechnique.org *
+ * Copyright (C) 2003-2006 Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
$sql = "UPDATE auth_user_md5 set section= {?} WHERE user_id= {?}";
-$globals->xdb->execute($sql, $section, Session::getInt('uid', -1));
+XDB::execute($sql, $section, S::v('uid', -1));
?>