aboutsummaryrefslogtreecommitdiff
path: root/mod/logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'mod/logrotate')
-rw-r--r--mod/logrotate/start.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/logrotate/start.php b/mod/logrotate/start.php
index cc2d19b0a..485f53f49 100644
--- a/mod/logrotate/start.php
+++ b/mod/logrotate/start.php
@@ -22,7 +22,7 @@
}
// Register cron hook
- register_plugin_hook('cron', $period, 'logrotate_cron');
+ elgg_register_plugin_hook_handler('cron', $period, 'logrotate_cron');
}
/**
@@ -52,5 +52,5 @@
}
// Initialise plugin
- register_elgg_event_handler('init','system','logrotate_init');
+ elgg_register_event_handler('init','system','logrotate_init');
?> \ No newline at end of file