diff options
Diffstat (limited to 'plugins/DBStats/DBStats.php')
-rw-r--r-- | plugins/DBStats/DBStats.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/DBStats/DBStats.php b/plugins/DBStats/DBStats.php index 7a5c6076f7..def12d84a4 100644 --- a/plugins/DBStats/DBStats.php +++ b/plugins/DBStats/DBStats.php @@ -13,6 +13,7 @@ use Piwik\Date; use Piwik\Common; use Piwik\ScheduledTask; use Piwik\Plugin; +use Piwik\ScheduledTime\Weekly; /** * @@ -52,7 +53,7 @@ class Piwik_DBStats extends Plugin $this, 'cacheDataByArchiveNameReports', null, - new Piwik_ScheduledTime_Weekly(), + new Weekly(), ScheduledTask::LOWEST_PRIORITY ); $tasks[] = $cacheDataByArchiveNameReportsTask; |