aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/users.php
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-15 00:42:44 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-15 00:42:44 +0000
commit782fd909b042740f736b8c668f74d47a43f703f3 (patch)
tree2898c2ee772f3654dde8fb9e4374a10dfaef9eac /engine/lib/users.php
parenta3107496e7d539200e3f815d5ab06d0ec1c93d62 (diff)
downloadelgg-782fd909b042740f736b8c668f74d47a43f703f3.tar.gz
elgg-782fd909b042740f736b8c668f74d47a43f703f3.tar.bz2
Replaced all occurrences of register_page_handler in core with elgg_register_page_handler
git-svn-id: http://code.elgg.org/elgg/trunk@8244 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/users.php')
-rw-r--r--engine/lib/users.php22
1 files changed, 11 insertions, 11 deletions
diff --git a/engine/lib/users.php b/engine/lib/users.php
index 8d8c7fb64..ce325f21e 100644
--- a/engine/lib/users.php
+++ b/engine/lib/users.php
@@ -1486,17 +1486,17 @@ function users_pagesetup() {
function users_init() {
global $CONFIG;
- register_page_handler('friends', 'friends_page_handler');
- register_page_handler('friendsof', 'friends_of_page_handler');
- register_page_handler('dashboard', 'dashboard_page_handler');
- register_page_handler('register', 'registration_page_handler');
- register_page_handler('resetpassword', 'elgg_user_resetpassword_page_handler');
- register_page_handler('login', 'elgg_user_login_page_handler');
- register_page_handler('members', 'elgg_members_page_handler');
- register_page_handler('avatar', 'elgg_avatar_page_handler');
- register_page_handler('profile', 'elgg_profile_page_handler');
-
- //register_page_handler('collections', 'collections_page_handler');
+ elgg_register_page_handler('friends', 'friends_page_handler');
+ elgg_register_page_handler('friendsof', 'friends_of_page_handler');
+ elgg_register_page_handler('dashboard', 'dashboard_page_handler');
+ elgg_register_page_handler('register', 'registration_page_handler');
+ elgg_register_page_handler('resetpassword', 'elgg_user_resetpassword_page_handler');
+ elgg_register_page_handler('login', 'elgg_user_login_page_handler');
+ elgg_register_page_handler('members', 'elgg_members_page_handler');
+ elgg_register_page_handler('avatar', 'elgg_avatar_page_handler');
+ elgg_register_page_handler('profile', 'elgg_profile_page_handler');
+
+ //elgg_register_page_handler('collections', 'collections_page_handler');
$item = new ElggMenuItem('members', elgg_echo('members'), 'pg/members');
elgg_register_menu_item('site', $item);