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/pages/start.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mod/pages') diff --git a/mod/pages/start.php b/mod/pages/start.php index ea37ba935..ec5a8815b 100644 --- a/mod/pages/start.php +++ b/mod/pages/start.php @@ -23,8 +23,8 @@ function pages_init() { elgg_register_page_handler('pages', 'pages_page_handler'); // Register a url handler - register_entity_url_handler('pages_url', 'object', 'page_top'); - register_entity_url_handler('pages_url', 'object', 'page'); + elgg_register_entity_url_handler('object', 'page_top', 'pages_url'); + elgg_register_entity_url_handler('object', 'page', 'pages_url'); register_extender_url_handler('pages_revision_url', 'annotation', 'page'); // Register some actions -- cgit v1.2.3