diff options
author | Matthieu Aubry <matt@piwik.org> | 2015-12-04 01:43:12 +0300 |
---|---|---|
committer | Matthieu Aubry <matt@piwik.org> | 2015-12-04 01:43:12 +0300 |
commit | 1d79853fcb066ae5f9b443b4f5ab37ea5fd7b256 (patch) | |
tree | 96f1ff987e22435919ed24ed2632d10296fc4907 | |
parent | 0dc59b92b248615bf54863d12c42e7544cc512da (diff) | |
parent | 2615dd39340a981c282f37d72095b62e9b33f579 (diff) |
Merge pull request #9279 from piwik/9239
--force-date-last-n should really force archiving, even if there was no visit recently
-rw-r--r-- | core/CronArchive.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/CronArchive.php b/core/CronArchive.php index 4b9d3556d3..c929f88809 100644 --- a/core/CronArchive.php +++ b/core/CronArchive.php @@ -367,7 +367,7 @@ class CronArchive continue; } - $shouldCheckIfArchivingIsNeeded = !$this->shouldArchiveSpecifiedSites && !$this->shouldArchiveAllSites; + $shouldCheckIfArchivingIsNeeded = !$this->shouldArchiveSpecifiedSites && !$this->shouldArchiveAllSites && !$this->dateLastForced; $hasWebsiteDayFinishedSinceLastRun = in_array($idSite, $this->websiteDayHasFinishedSinceLastRun); $isOldReportInvalidatedForWebsite = $this->isOldReportInvalidatedForWebsite($idSite); |