diff options
| author | Tim Almdal <tnalmdal@shaw.ca> | 2009-07-09 08:39:00 -0700 |
|---|---|---|
| committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-07-09 08:39:00 -0700 |
| commit | 5118afc959650469874733a1060fbe22364d8c28 (patch) | |
| tree | 88844b3f0d1d800bf5aecdf187d9bf3123f217e1 /modules/search/helpers/search.php | |
| parent | 1a587fd01686cf603b2c7eefd406cf200c6e0ee1 (diff) | |
Revert "Add task logging to the "Update Search Index" task"
This reverts commit 6ac5238b83d58824eb9327406a2ee50b7e603214.
Diffstat (limited to 'modules/search/helpers/search.php')
| -rw-r--r-- | modules/search/helpers/search.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/modules/search/helpers/search.php b/modules/search/helpers/search.php index 34eaecbd..ea8dad81 100644 --- a/modules/search/helpers/search.php +++ b/modules/search/helpers/search.php @@ -50,9 +50,6 @@ class search_Core { return array($count, new ORM_Iterator(ORM::factory("item"), $db->query($query))); } - /** - * @return string An error message suitable for inclusion in the task log - */ static function check_index() { list ($remaining) = search::stats(); if ($remaining) { @@ -79,7 +76,6 @@ class search_Core { $record->data = join(" ", $data); $record->dirty = 0; $record->save(); - return t("Search index updated for '%title'", array("title" => p::purify($item->title))); } static function stats() { |
