summaryrefslogtreecommitdiff
path: root/modules/comment/helpers/comment_installer.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/comment/helpers/comment_installer.php')
-rw-r--r--modules/comment/helpers/comment_installer.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/comment/helpers/comment_installer.php b/modules/comment/helpers/comment_installer.php
index aba32566..651065f7 100644
--- a/modules/comment/helpers/comment_installer.php
+++ b/modules/comment/helpers/comment_installer.php
@@ -58,6 +58,9 @@ class comment_installer {
static function uninstall() {
$db = Database::instance();
+ $sql = "SELECT `item_id` FROM `comments`";
+ module::event("item_related_update_batch", $sql);
+
$db->query("DROP TABLE IF EXISTS `comments`;");
module::delete("comment");
}