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/garbagecollector/start.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mod/garbagecollector/start.php') diff --git a/mod/garbagecollector/start.php b/mod/garbagecollector/start.php index 9579dc29e..c7bd20053 100644 --- a/mod/garbagecollector/start.php +++ b/mod/garbagecollector/start.php @@ -8,7 +8,7 @@ elgg_register_event_handler('init', 'system', 'garbagecollector_init'); function garbagecollector_init() { - $period = get_plugin_setting('period', 'garbagecollector'); + $period = elgg_get_plugin_setting('period', 'garbagecollector'); switch ($period) { case 'weekly': case 'monthly': @@ -42,7 +42,7 @@ function garbagecollector_cron($hook, $entity_type, $returnvalue, $params) { // Now, because we are nice, trigger a plugin hook to let other plugins do some GC $rv = true; - $period = get_plugin_setting('period','garbagecollector'); + $period = elgg_get_plugin_setting('period','garbagecollector'); elgg_trigger_plugin_hook('gc', 'system', array('period' => $period)); // Now we optimize all tables -- cgit v1.2.3