rework XOrgDB -> XDB (shorter, easier to use).
[platal.git] / bin / cron / clean.php
index 04b9694..f1a5058 100755 (executable)
@@ -24,7 +24,7 @@ require('./connect.db.inc.php');
 
 function query ($sql) {
     global $globals;
-    $globals->xdb->execute($sql);
+    XDB::execute($sql);
     if (mysql_errno() != 0) {
        echo "error in \"$sql\" :\n", mysql_error(),"\n";
     }