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/garbagecollector/start.php | |
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/garbagecollector/start.php')
-rw-r--r-- | mod/garbagecollector/start.php | 4 |
1 files changed, 2 insertions, 2 deletions
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 |