aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/cron.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/cron.php')
-rw-r--r--engine/lib/cron.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/cron.php b/engine/lib/cron.php
index d51a34bf7..9d47e95d1 100644
--- a/engine/lib/cron.php
+++ b/engine/lib/cron.php
@@ -16,7 +16,7 @@ function cron_init() {
register_page_handler('cron', 'cron_page_handler');
// register a hook for Walled Garden public pages
- register_plugin_hook('public_pages', 'walled_garden', 'cron_public_pages');
+ elgg_register_plugin_hook_handler('public_pages', 'walled_garden', 'cron_public_pages');
}
/**
@@ -80,4 +80,4 @@ function cron_public_pages($hook, $type, $return_value, $params) {
}
// Register a startup event
-register_elgg_event_handler('init', 'system', 'cron_init'); \ No newline at end of file
+elgg_register_event_handler('init', 'system', 'cron_init'); \ No newline at end of file