Bug : suppression du quota de BDD a la supression de la bdd
Xals : a merger
This commit is contained in:
parent
5d213d7420
commit
751326f7b7
|
@ -193,6 +193,7 @@ class m_mysql {
|
||||||
$login=$db->f("login");
|
$login=$db->f("login");
|
||||||
|
|
||||||
// Ok, database exists and dbname is compliant. Let's proceed
|
// 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("DELETE FROM db WHERE uid='$cuid' AND db='$dbname';");
|
||||||
$db->query("DROP DATABASE `$dbname`;");
|
$db->query("DROP DATABASE `$dbname`;");
|
||||||
$db->query("SELECT COUNT(*) AS cnt FROM db WHERE uid='$cuid';");
|
$db->query("SELECT COUNT(*) AS cnt FROM db WHERE uid='$cuid';");
|
||||||
|
|
Loading…
Reference in New Issue