fixing db_del bug, thanks @Petit42
This commit is contained in:
parent
64bcb12f8d
commit
7d35b9cb59
|
@ -319,7 +319,7 @@ class m_mysql {
|
||||||
}
|
}
|
||||||
|
|
||||||
// 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 ?;", array($dbname));
|
$db->query("DELETE FROM size_db WHERE db= ?;", array($dbname));
|
||||||
$db->query("DELETE FROM db WHERE uid= ? AND db= ? ;", array($cuid, $dbname));
|
$db->query("DELETE FROM db WHERE uid= ? AND db= ? ;", array($cuid, $dbname));
|
||||||
$this->dbus->query("DROP DATABASE $dbname;");
|
$this->dbus->query("DROP DATABASE $dbname;");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue