aboutsummaryrefslogtreecommitdiff
path: root/mod/pages
diff options
context:
space:
mode:
Diffstat (limited to 'mod/pages')
-rw-r--r--mod/pages/start.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/mod/pages/start.php b/mod/pages/start.php
index 9d196d867..7c278e67b 100644
--- a/mod/pages/start.php
+++ b/mod/pages/start.php
@@ -22,9 +22,9 @@ function pages_init() {
register_entity_url_handler('pages_url','object', 'page');
// Register some actions
- register_action("pages/edit",false, $CONFIG->pluginspath . "pages/actions/pages/edit.php");
- register_action("pages/editwelcome",false, $CONFIG->pluginspath . "pages/actions/pages/editwelcome.php");
- register_action("pages/delete",false, $CONFIG->pluginspath . "pages/actions/pages/delete.php");
+ elgg_register_action("pages/edit", $CONFIG->pluginspath . "pages/actions/pages/edit.php");
+ elgg_register_action("pages/editwelcome", $CONFIG->pluginspath . "pages/actions/pages/editwelcome.php");
+ elgg_register_action("pages/delete", $CONFIG->pluginspath . "pages/actions/pages/delete.php");
// Extend some views
elgg_extend_view('css','pages/css');