diff options
-rw-r--r-- | engine/lib/group.php | 3 |
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'); |