1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-12 17:44:07 +02:00

Remove number of tables (slow)

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1222 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
jakubvrana
2009-10-30 16:48:18 +00:00
parent 26e8ab97b7
commit 3c8436c99c
2 changed files with 2 additions and 3 deletions

View File

@@ -23,6 +23,7 @@ if ($_POST && !$error && !isset($_POST["add_x"])) { // add is an image and PHP c
}
if (!$row) {
queries("DROP DATABASE " . idf_escape(DB));
//! saved to history of removed database
}
queries_redirect(preg_replace('~db=[^&]*&~', '', ME) . "db=" . urlencode($_POST["name"]), lang('Database has been renamed.'), !$row);
}