diff options
-rw-r--r-- | plugins/CoreAdminHome/Tasks.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/CoreAdminHome/Tasks.php b/plugins/CoreAdminHome/Tasks.php index eb76a8c6f0..29444de212 100644 --- a/plugins/CoreAdminHome/Tasks.php +++ b/plugins/CoreAdminHome/Tasks.php @@ -115,6 +115,7 @@ class Tasks extends \Piwik\Plugin\Tasks $idSites = Request::processRequest('SitesManager.getAllSitesId'); foreach ($idSites as $idSite) { $cronArchive = new CronArchive(); + $cronArchive->init(); $cronArchive->invalidateArchivedReportsForSitesThatNeedToBeArchivedAgain($idSite); } } |