diff --git a/webapp/controller/ToolsController.class.php b/webapp/controller/ToolsController.class.php index 5ab0058a..20af21a6 100644 --- a/webapp/controller/ToolsController.class.php +++ b/webapp/controller/ToolsController.class.php @@ -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()); } } }