aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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';