Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulienMoumne <julien@piwik.org>2013-01-26 21:33:29 +0400
committerJulienMoumne <julien@piwik.org>2013-01-26 21:33:29 +0400
commit76f6a9e5f9d555bbba52435f10513a11ab85b70a (patch)
treeb4a41677d474b7c2f70acaf268622cd46b4f77d5 /plugins/DBStats
parent08493b8f4028ae6a680442de9412743fb7251449 (diff)
fixes #3704 #3706
git-svn-id: http://dev.piwik.org/svn/trunk@7790 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'plugins/DBStats')
-rw-r--r--plugins/DBStats/DBStats.php10
1 files changed, 7 insertions, 3 deletions
diff --git a/plugins/DBStats/DBStats.php b/plugins/DBStats/DBStats.php
index 2b2f00ecae..44d8bd9c82 100644
--- a/plugins/DBStats/DBStats.php
+++ b/plugins/DBStats/DBStats.php
@@ -52,10 +52,14 @@ class Piwik_DBStats extends Piwik_Plugin
public function getScheduledTasks($notification)
{
$tasks = &$notification->getNotificationObject();
-
- $priority = Piwik_ScheduledTask::LOWEST_PRIORITY;
+
$cacheDataByArchiveNameReportsTask = new Piwik_ScheduledTask(
- $this, 'cacheDataByArchiveNameReports', new Piwik_ScheduledTime_Weekly(), $priority);
+ $this,
+ 'cacheDataByArchiveNameReports',
+ null,
+ new Piwik_ScheduledTime_Weekly(),
+ Piwik_ScheduledTask::LOWEST_PRIORITY
+ );
$tasks[] = $cacheDataByArchiveNameReportsTask;
}