diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-12-21 15:58:22 -0800 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-12-21 15:58:22 -0800 |
commit | 31a545fa26a002432f01beabdae147de34793ec8 (patch) | |
tree | e3fa5285324112bd5c7266946ec5c77b77cae92d /modules/comment/helpers | |
parent | cc4d7c672c863185bab5d654222e205d6517e98a (diff) |
Add missing execute() call -- tests ftw!
Diffstat (limited to 'modules/comment/helpers')
-rw-r--r-- | modules/comment/helpers/comment_event.php | 3 |
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) { |