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';");