diff options
Diffstat (limited to 'modules/comment/helpers/comment_installer.php')
-rw-r--r-- | modules/comment/helpers/comment_installer.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/comment/helpers/comment_installer.php b/modules/comment/helpers/comment_installer.php index f128ed0b..7e47ce8f 100644 --- a/modules/comment/helpers/comment_installer.php +++ b/modules/comment/helpers/comment_installer.php @@ -54,7 +54,6 @@ class comment_installer { public static function uninstall() { $db = Database::instance(); $db->query("DROP TABLE IF EXISTS `comments`;"); - $comment_module = ORM::factory("module")->where("name", "comment")->find(); - $comment_module->delete(); + ORM::factory("module")->where("name", "comment")->find()->delete(); } } |