diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-09 22:04:46 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-09 22:04:46 +0000 |
commit | 6b3ee5365b10afc37677781fc5f07539f1d8636f (patch) | |
tree | a9280742d01bda2b5b5b9ee7540f1c8a7fc31947 /mod/logrotate | |
parent | 6f41511034886224e0888d2f886c7d7ccc48636d (diff) | |
download | elgg-6b3ee5365b10afc37677781fc5f07539f1d8636f.tar.gz elgg-6b3ee5365b10afc37677781fc5f07539f1d8636f.tar.bz2 |
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
Diffstat (limited to 'mod/logrotate')
-rw-r--r-- | mod/logrotate/start.php | 4 |
1 files changed, 2 insertions, 2 deletions
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; |