diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-11-08 00:11:48 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-11-08 00:11:48 +0000 |
commit | 3b99bedb396af669f2a651c3382d8118b6cd2ec1 (patch) | |
tree | cfc06451c5e6146f5151b7f4cd13cacc88fa409c /mod | |
parent | b02f17540195e1c9f933b40b0176a6f01bf1be6d (diff) | |
download | elgg-3b99bedb396af669f2a651c3382d8118b6cd2ec1.tar.gz elgg-3b99bedb396af669f2a651c3382d8118b6cd2ec1.tar.bz2 |
Uncommenting out the bulk of the search functions.
git-svn-id: http://code.elgg.org/elgg/trunk@3637 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod')
-rw-r--r-- | mod/search/start.php | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/mod/search/start.php b/mod/search/start.php index ad9604cb6..cad2aab41 100644 --- a/mod/search/start.php +++ b/mod/search/start.php @@ -19,17 +19,17 @@ function search_init() { // page handler for search actions and results register_page_handler('search','search_page_handler'); -// // register some default search hooks -// register_plugin_hook('search', 'object', 'search_objects_hook'); -// register_plugin_hook('search', 'user', 'search_users_hook'); -// -// // @todo pull this out into groups -// register_plugin_hook('search', 'group', 'search_groups_hook'); -// -// // tags and comments are a bit different. -// // register a search types and a hooks for them. -// register_plugin_hook('search_types', 'get_types', 'search_custom_types_tags_hook'); -// register_plugin_hook('search', 'tags', 'search_tags_hook'); + // register some default search hooks + register_plugin_hook('search', 'object', 'search_objects_hook'); + register_plugin_hook('search', 'user', 'search_users_hook'); + + // @todo pull this out into groups + register_plugin_hook('search', 'group', 'search_groups_hook'); + + // tags and comments are a bit different. + // register a search types and a hooks for them. + register_plugin_hook('search_types', 'get_types', 'search_custom_types_tags_hook'); + register_plugin_hook('search', 'tags', 'search_tags_hook'); register_plugin_hook('search_types', 'get_types', 'search_custom_types_comments_hook'); register_plugin_hook('search', 'comments', 'search_comments_hook'); |