summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-12-21 15:58:22 -0800
committerBharat Mediratta <bharat@menalto.com>2009-12-21 15:58:22 -0800
commit31a545fa26a002432f01beabdae147de34793ec8 (patch)
treee3fa5285324112bd5c7266946ec5c77b77cae92d
parentcc4d7c672c863185bab5d654222e205d6517e98a (diff)
Add missing execute() call -- tests ftw!
-rw-r--r--modules/comment/helpers/comment_event.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/comment/helpers/comment_event.php b/modules/comment/helpers/comment_event.php
index 576e041d..43a30d70 100644
--- a/modules/comment/helpers/comment_event.php
+++ b/modules/comment/helpers/comment_event.php
@@ -21,7 +21,8 @@ class comment_event_Core {
static function item_deleted($item) {
db::build()
->delete("comments")
- ->where("item_id", "=", $item->id);
+ ->where("item_id", "=", $item->id)
+ ->execute();
}
static function user_deleted($user) {