Purge cache on cron

This commit is contained in:
Dmitriy Simushev 2014-09-25 10:38:31 +00:00
parent ba103d5636
commit 022fe7d6f4

View File

@ -49,6 +49,9 @@ class CronController extends AbstractController
set_time_limit(0);
// Remove stale cached items
$this->getCache()->purge();
// Run cron jobs of the core
calculate_thread_statistics();
calculate_operator_statistics();