summaryrefslogtreecommitdiff
path: root/core/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'core/controllers')
-rw-r--r--core/controllers/welcome.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/controllers/welcome.php b/core/controllers/welcome.php
index 098f3af5..cf8f6693 100644
--- a/core/controllers/welcome.php
+++ b/core/controllers/welcome.php
@@ -48,11 +48,12 @@ class Welcome_Controller extends Template_Controller {
function uninstall($module_name) {
if ($module_name == "core") {
- // Legacy support for uninstalling the auth module
+ // Legacy support for uninstalling the auth module and removing the blocks table
try {
$db = Database::instance();
$db->query("DROP TABLE IF EXISTS `passwords`;");
ORM::factory("module")->where("name", "auth")->find()->delete();
+ $db->query("DROP TABLE IF EXISTS `blocks`;");
} catch (Exception $e) {
}