diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2009-03-05 06:38:11 +0000 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2009-03-05 06:38:11 +0000 |
| commit | 23937ff1355f3f47f5b42dc3718db1615809371b (patch) | |
| tree | 8702b9645ef24e9d789edb83eb67354e84041729 /modules/search/helpers | |
| parent | 898ac3ac359258ccb0958f5be420d17a9a264fec (diff) | |
Avoid using default task types. Require task::get_definitions() to
specify a single type and ask for it appropriately in
admin_maintenance. Specify a type for every existing task.
Diffstat (limited to 'modules/search/helpers')
| -rw-r--r-- | modules/search/helpers/search_task.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/search/helpers/search_task.php b/modules/search/helpers/search_task.php index 7aba640e..bc950624 100644 --- a/modules/search/helpers/search_task.php +++ b/modules/search/helpers/search_task.php @@ -36,6 +36,7 @@ class search_task_Core { return array(Task_Definition::factory() ->callback("search_task::update_index") ->name(t("Update Search Index")) + ->type("admin") ->description($remaining ? t("Search index is %percent% up-to-date", array("percent" => $percent)) |
