]> andersk Git - sql-web.git/blobdiff - test.php
killed process message finished
[sql-web.git] / test.php
index 6109019462b50d69985cfea536546bf39490c671..7b7ff64650c053100a5336bc2644462ed11c6eea 100755 (executable)
--- a/test.php
+++ b/test.php
@@ -20,19 +20,6 @@ function getManagedDBs($owner=null) {
        return $owners;
 }
 
-function checkQuotas() {
-       $databases = fetchRows(DBSelect('SELECT DatabaseId,Name FROM DB WHERE bEnabled=1'),'Name');
-       foreach($databases as $db) {
-               $DBId = $db['DatabaseId'];
-               $arr['dLastCheck'] = 'NOW()';
-               $arr['nBytes'] = calcDBSize($db['Name']);
-               $sql = sprintf("UPDATE DB %s WHERE DatabaseId = '%s'",
-                                               buildSQLSet($arr),
-                                               mysql_escape_string($DBId));
-               DBUpdate($sql);
-       }
-}
-
 /*
 $g = getManagedDBs();
 print_r($g);
@@ -41,7 +28,9 @@ $User = new User($Login->getUserId());
 print_r($User->getDBList());
 */
 
-checkQuotas();
+phpinfo();
+
+//checkQuotas();
 
 include 'tpl/foot.php';
 ?>
This page took 0.026861 seconds and 4 git commands to generate.