fixing db_del bug, thanks @Petit42

This commit is contained in:
Benjamin Sonntag 2018-02-12 14:57:11 +01:00
parent 64bcb12f8d
commit 7d35b9cb59
1 changed files with 1 additions and 1 deletions

View File

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