1
This commit is contained in:
commit
94e1621905
@ -25,8 +25,8 @@ class ToolsController extends BaseController {
|
||||
$tables = $conn->execQueryAsArray('show tables;');
|
||||
foreach ($tables as $table) {
|
||||
$tblName = $table[0];
|
||||
$conn->execScript("DELETE FROM {$tblName};",
|
||||
arary());
|
||||
$conn->execScript("DROP TABLE {$tblName};",
|
||||
array());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user