aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/users.php
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-11-06 05:09:33 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-11-06 05:09:33 +0000
commit08281c4acbc60c0454ff86a1de5bc6a166fcdc31 (patch)
tree5f48984d3dfa7dd4fda13af1307cfe67bc8dd6d2 /engine/lib/users.php
parent45eaa94d22b0237c4a5119645d3a5327545342a3 (diff)
downloadelgg-08281c4acbc60c0454ff86a1de5bc6a166fcdc31.tar.gz
elgg-08281c4acbc60c0454ff86a1de5bc6a166fcdc31.tar.bz2
Removed old user search.
git-svn-id: http://code.elgg.org/elgg/trunk@3625 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/users.php')
-rw-r--r--engine/lib/users.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/engine/lib/users.php b/engine/lib/users.php
index 0d2a75dbb..b49fc30fe 100644
--- a/engine/lib/users.php
+++ b/engine/lib/users.php
@@ -1490,8 +1490,7 @@ function users_init() {
register_entity_type('user','');
register_plugin_hook('usersettings:save','user','users_settings_save');
- register_plugin_hook('search','all','search_list_users_by_name');
-
+ register_plugin_hook('search', 'user', 'users_search_hook');
// Handle a special case for newly created users when the user is not logged in
// TODO: handle this better!
@@ -1594,4 +1593,3 @@ function users_search_hook($hook, $type, $value, $params) {
register_elgg_event_handler('init','system','users_init',0);
register_elgg_event_handler('pagesetup','system','users_pagesetup',0);
register_plugin_hook('unit_test', 'system', 'users_test');
-register_plugin_hook('search', 'user', 'users_search_hook');