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.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/cron.php b/engine/lib/cron.php
index f216e0b2d..ef0cf17b2 100644
--- a/engine/lib/cron.php
+++ b/engine/lib/cron.php
@@ -13,7 +13,7 @@
*/
function cron_init() {
// Register a pagehandler for cron
- register_page_handler('cron', 'cron_page_handler');
+ elgg_register_page_handler('cron', 'cron_page_handler');
// register a hook for Walled Garden public pages
elgg_register_plugin_hook_handler('public_pages', 'walled_garden', 'cron_public_pages');