aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-11-06 05:10:42 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-11-06 05:10:42 +0000
commit4044e085cd5b5698b05f1a070cd95b453c19aa69 (patch)
tree3e1cf9359640af9f0d1728083cc4133c96b15315 /engine
parent08281c4acbc60c0454ff86a1de5bc6a166fcdc31 (diff)
downloadelgg-4044e085cd5b5698b05f1a070cd95b453c19aa69.tar.gz
elgg-4044e085cd5b5698b05f1a070cd95b453c19aa69.tar.bz2
Removed old group search hook.
git-svn-id: http://code.elgg.org/elgg/trunk@3626 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/group.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/engine/lib/group.php b/engine/lib/group.php
index 289e1fc0c..f7acd9fba 100644
--- a/engine/lib/group.php
+++ b/engine/lib/group.php
@@ -947,7 +947,7 @@ function group_init() {
register_entity_type('group','');
// Register a search hook
- register_plugin_hook('search','all','search_list_groups_by_name');
+ register_plugin_hook('search', 'group', 'groups_search_hook');
}
@@ -1000,4 +1000,3 @@ function groups_search_hook($hook, $type, $value, $params) {
}
register_elgg_event_handler('init','system','group_init');
-register_plugin_hook('search', 'group', 'groups_search_hook');