From b249ce75f93c08c0b2a37ba7da8c5c859c67d7da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi?= Date: Mon, 1 May 2006 08:16:12 +0000 Subject: [PATCH] do not forget to commit your final work in order to not have a broken version in the repository --- src/spoolsize.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/spoolsize.php b/src/spoolsize.php index d2f399d3..f76d6e1d 100644 --- a/src/spoolsize.php +++ b/src/spoolsize.php @@ -5,8 +5,6 @@ require_once("/var/alternc/bureau/class/config_nochk.php"); // On déverrouile le bureau AlternC :) alternc_shutdown(); -echo "
";
-
 echo "---------------------------\n Generating size-cache for mail accounts\n\n";
 $r=mysql_query("SELECT * FROM mail_users WHERE alias NOT LIKE '%@%' AND alias LIKE '%\_%';");
 while ($c=mysql_fetch_array($r)) {
@@ -20,7 +18,7 @@ echo "---------------------------\n Generating size-cache for db accounts\n\n";
 $r=mysql_query("SELECT db FROM db;");
 while ($c=mysql_fetch_array($r)) {
   echo $c["db"]; flush();
-  $size=$mysql->get_db_size($c["db"]) {
+  $size=$mysql->get_db_size($c["db"]);
   mysql_query("REPLACE INTO size_db SET db='".addslashes($c["db"])."',size='$size';");
   echo " done ($size KB) \n"; flush();
 }