diff options
author | diosmosis <benaka@piwik.pro> | 2015-09-25 04:52:06 +0300 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2015-09-25 06:02:43 +0300 |
commit | cf76baf0cc813aecce29bbfa988ffd206ac63107 (patch) | |
tree | eb26443d5f232341db2900e74e3a9c6d3212e97b /core/Archive.php | |
parent | de2ee7a1a0478cdd9904f698e70b40eec465fe3f (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.php | 2 |
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; |