From 751326f7b7e4f10ebc84bf3e01835de541eaa64f Mon Sep 17 00:00:00 2001 From: Alan Garcia Date: Fri, 29 Jul 2011 07:19:45 +0000 Subject: [PATCH] Bug : suppression du quota de BDD a la supression de la bdd Xals : a merger --- bureau/class/m_mysql.php | 1 + 1 file changed, 1 insertion(+) diff --git a/bureau/class/m_mysql.php b/bureau/class/m_mysql.php index 8f742287..b86a33aa 100644 --- a/bureau/class/m_mysql.php +++ b/bureau/class/m_mysql.php @@ -193,6 +193,7 @@ class m_mysql { $login=$db->f("login"); // Ok, database exists and dbname is compliant. Let's proceed + $db->query("DELETE FROM size_db WHERE db='$dbname';"); $db->query("DELETE FROM db WHERE uid='$cuid' AND db='$dbname';"); $db->query("DROP DATABASE `$dbname`;"); $db->query("SELECT COUNT(*) AS cnt FROM db WHERE uid='$cuid';");