From 851b6f87d426ff60d21eeafd6d63ff241bb18b82 Mon Sep 17 00:00:00 2001 From: ewinslow Date: Wed, 16 Feb 2011 20:56:25 +0000 Subject: Updated register_entity_url_handler => elgg_* in plugins. Used this regex: ([^_a-z])register_entity_url_handler\((.*),(.*,.*)\); git-svn-id: http://code.elgg.org/elgg/trunk@8263 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/profile/start.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/profile') diff --git a/mod/profile/start.php b/mod/profile/start.php index 05db3ce86..67be35e7e 100644 --- a/mod/profile/start.php +++ b/mod/profile/start.php @@ -14,7 +14,7 @@ function profile_init() { // Register a URL handler for users - this means that profile_url() // will dictate the URL for all ElggUser objects - register_entity_url_handler('profile_url', 'user', 'all'); + elgg_register_entity_url_handler('user', 'all', 'profile_url'); // Metadata on users needs to be independent register_metadata_as_independent('user'); -- cgit v1.2.3