From 6b3ee5365b10afc37677781fc5f07539f1d8636f Mon Sep 17 00:00:00 2001 From: brettp Date: Wed, 9 Feb 2011 22:04:46 +0000 Subject: Refs #2874. Finished removing calls to deprecated plugin mgmt functions in core and core plugins. git-svn-id: http://code.elgg.org/elgg/trunk@8090 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/logrotate/start.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mod/logrotate/start.php') diff --git a/mod/logrotate/start.php b/mod/logrotate/start.php index 28c1694eb..25c01d45b 100644 --- a/mod/logrotate/start.php +++ b/mod/logrotate/start.php @@ -8,7 +8,7 @@ elgg_register_event_handler('init', 'system', 'logrotate_init'); function logrotate_init() { - $period = get_plugin_setting('period', 'logrotate'); + $period = elgg_get_plugin_setting('period', 'logrotate'); switch ($period) { case 'weekly': case 'monthly' : @@ -31,7 +31,7 @@ function logrotate_cron($hook, $entity_type, $returnvalue, $params) { $day = 86400; $offset = 0; - $period = get_plugin_setting('period', 'logrotate'); + $period = elgg_get_plugin_setting('period', 'logrotate'); switch ($period) { case 'weekly': $offset = $day * 7; -- cgit v1.2.3