rework XOrgDB -> XDB (shorter, easier to use).
[platal.git] / include / profil / update_poly.inc.php
index c51ecce..5add42e 100644 (file)
@@ -21,6 +21,6 @@
 
 $sql = "UPDATE auth_user_md5 set section= {?} WHERE user_id= {?}";
 
-$globals->xdb->execute($sql, $section, Session::getInt('uid', -1));
+XDB::execute($sql, $section, Session::getInt('uid', -1));
 
 ?>