aboutsummaryrefslogtreecommitdiff
path: root/mod/pages/start.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-05-14 18:26:34 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-05-14 18:26:34 +0000
commitf7555c5a8a0da0fbca7940650673a28a41ae79f4 (patch)
treeeb88a584993be99a16289e5a96de546af238f1a6 /mod/pages/start.php
parentf69f31efe44272df0c43985860c502ff3eedbd38 (diff)
downloadelgg-f7555c5a8a0da0fbca7940650673a28a41ae79f4.tar.gz
elgg-f7555c5a8a0da0fbca7940650673a28a41ae79f4.tar.bz2
fixed page revisions url override
git-svn-id: http://code.elgg.org/elgg/trunk@9073 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/pages/start.php')
-rw-r--r--mod/pages/start.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/pages/start.php b/mod/pages/start.php
index a8df99bef..772fa2de9 100644
--- a/mod/pages/start.php
+++ b/mod/pages/start.php
@@ -25,7 +25,7 @@ function pages_init() {
// Register a url handler
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');
+ elgg_register_annotation_url_handler('page', 'pages_revision_url');
// Register some actions
$action_base = elgg_get_plugins_path() . 'pages/actions/pages';