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:
authordiosmosis <benaka@piwik.pro>2015-09-25 04:52:06 +0300
committerdiosmosis <benaka@piwik.pro>2015-09-25 06:02:43 +0300
commitcf76baf0cc813aecce29bbfa988ffd206ac63107 (patch)
treeeb26443d5f232341db2900e74e3a9c6d3212e97b /core/Archive.php
parentde2ee7a1a0478cdd9904f698e70b40eec465fe3f (diff)
Move date parsing logic from ArchiveInvalidator to CoreAdminHome/API.php so the service class only accepts well formed input.
Diffstat (limited to 'core/Archive.php')
-rw-r--r--core/Archive.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Archive.php b/core/Archive.php
index 097ed9024d..5413393972 100644
--- a/core/Archive.php
+++ b/core/Archive.php
@@ -554,7 +554,7 @@ class Archive
}
try {
- $invalidator->markArchivesAsInvalidated($siteIdsToActuallyInvalidate, $date, false);
+ $invalidator->markArchivesAsInvalidated($siteIdsToActuallyInvalidate, array(Date::factory($date)), false);
} catch (\Exception $e) {
Site::clearCache();
throw $e;