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/blog/start.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/blog/start.php') diff --git a/mod/blog/start.php b/mod/blog/start.php index 92ce44961..04197aa4e 100644 --- a/mod/blog/start.php +++ b/mod/blog/start.php @@ -35,7 +35,7 @@ function blog_init() { elgg_register_page_handler('blog', 'blog_page_handler'); // override the default url to view a blog object - register_entity_url_handler('blog_url_handler', 'object', 'blog'); + elgg_register_entity_url_handler('object', 'blog', 'blog_url_handler'); // notifications register_notification_object('object', 'blog', elgg_echo('blog:newpost')); -- cgit v1.2.3