mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 07:36:44 +02:00
Use drop_tables()
This commit is contained in:
@@ -26,7 +26,7 @@ if ($row["auto_increment_col"]) {
|
||||
|
||||
if ($_POST && !process_fields($row["fields"]) && !$error) {
|
||||
if ($_POST["drop"]) {
|
||||
query_redirect("DROP TABLE " . table($TABLE), substr(ME, 0, -1), lang('Table has been dropped.'));
|
||||
queries_redirect(substr(ME, 0, -1), lang('Table has been dropped.'), drop_tables(array($TABLE)));
|
||||
} else {
|
||||
$fields = array();
|
||||
$all_fields = array();
|
||||
|
Reference in New Issue
Block a user