aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/start.php
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-16 20:56:25 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-16 20:56:25 +0000
commit851b6f87d426ff60d21eeafd6d63ff241bb18b82 (patch)
tree6157f80d1f8ef58e208754ea7323f2e35b1bb743 /mod/groups/start.php
parent00f085d2da3f7fc260597e9bd7493a9cb99115fc (diff)
downloadelgg-851b6f87d426ff60d21eeafd6d63ff241bb18b82.tar.gz
elgg-851b6f87d426ff60d21eeafd6d63ff241bb18b82.tar.bz2
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
Diffstat (limited to 'mod/groups/start.php')
-rw-r--r--mod/groups/start.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/groups/start.php b/mod/groups/start.php
index 6cd4b07ad..96eca34d4 100644
--- a/mod/groups/start.php
+++ b/mod/groups/start.php
@@ -28,7 +28,7 @@ function groups_init() {
elgg_register_page_handler('groups', 'groups_page_handler');
// Register URL handlers for groups
- register_entity_url_handler('groups_url', 'group', 'all');
+ elgg_register_entity_url_handler('group', 'all', 'groups_url');
elgg_register_plugin_hook_handler('entity:icon:url', 'group', 'groups_icon_url_override');
// Register an icon handler for groups
@@ -477,7 +477,7 @@ function discussion_init() {
elgg_register_page_handler('discussion', 'discussion_page_handler');
- register_entity_url_handler('discussion_override_topic_url', 'object', 'groupforumtopic');
+ elgg_register_entity_url_handler('object', 'groupforumtopic', 'discussion_override_topic_url');
//register_extender_url_handler('group_topicpost_url', 'annotation', 'group_topic_post');
$action_base = elgg_get_plugins_path() . 'groups/actions/discussion';