From 31a545fa26a002432f01beabdae147de34793ec8 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Mon, 21 Dec 2009 15:58:22 -0800 Subject: Add missing execute() call -- tests ftw! --- modules/comment/helpers/comment_event.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/comment/helpers') 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) { -- cgit v1.2.3