aboutsummaryrefslogtreecommitdiff
path: root/mod/sitepages
diff options
context:
space:
mode:
Diffstat (limited to 'mod/sitepages')
-rw-r--r--mod/sitepages/start.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/sitepages/start.php b/mod/sitepages/start.php
index 2960bd6a5..5aa4a2117 100644
--- a/mod/sitepages/start.php
+++ b/mod/sitepages/start.php
@@ -49,7 +49,7 @@ function sitepages_init() {
// hook into the walled garden pages
elgg_register_plugin_hook_handler('public_pages', 'walled_garden', 'sitepages_public_pages');
- register_action('settings/sitepages/save', FALSE, "{$CONFIG->pluginspath}sitepages/actions/edit_settings.php");
+ elgg_register_action('settings/sitepages/save', "{$CONFIG->pluginspath}sitepages/actions/edit_settings.php");
}