summaryrefslogtreecommitdiff
path: root/modules/search
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-01-10 10:19:46 -0800
committerBharat Mediratta <bharat@menalto.com>2010-01-10 10:19:46 -0800
commit8fa9ba636b2e5d8a68c24359e9f6147e86798248 (patch)
tree91029c688790a7507b0842bfb483e3698e6cd25d /modules/search
parent5a8d48a86953781c682be7c8052ae804c65f7e3b (diff)
parenta11bf295078656612603c1c561e9261555d0c40c (diff)
Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_dev
Diffstat (limited to 'modules/search')
-rw-r--r--modules/search/helpers/search_event.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/search/helpers/search_event.php b/modules/search/helpers/search_event.php
index 1add6e5f..97041f8c 100644
--- a/modules/search/helpers/search_event.php
+++ b/modules/search/helpers/search_event.php
@@ -27,9 +27,10 @@ class search_event_Core {
}
static function item_deleted($item) {
- ORM::factory("search_record")
+ db::build()
+ ->delete("search_records")
->where("item_id", "=", $item->id)
- ->delete_all();
+ ->execute();
}
static function item_related_update($item) {