Use drop_tables()
This commit is contained in:
parent
1aa3144d05
commit
6948350552
|
@ -26,7 +26,7 @@ if ($row["auto_increment_col"]) {
|
||||||
|
|
||||||
if ($_POST && !process_fields($row["fields"]) && !$error) {
|
if ($_POST && !process_fields($row["fields"]) && !$error) {
|
||||||
if ($_POST["drop"]) {
|
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 {
|
} else {
|
||||||
$fields = array();
|
$fields = array();
|
||||||
$all_fields = array();
|
$all_fields = array();
|
||||||
|
|
Loading…
Reference in a new issue