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-04-07 03:33:58 +0300
committerdiosmosis <benaka@piwik.pro>2015-04-07 03:33:58 +0300
commit29692df109baf946d65e168dcbcac5601dbadbcd (patch)
tree3615a0e8f1efae4c777dd6bb559eb5488308fe4c /core/Archive.php
parentedc4a1b6c1850889d8845c66a886958e64f0d69c (diff)
Fixing two more system test failures, including one caused by the static cache in Archive.php never being cleared, and the environment not existing in web archiving.
Diffstat (limited to 'core/Archive.php')
-rw-r--r--core/Archive.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/Archive.php b/core/Archive.php
index 5178718e73..161afb33ba 100644
--- a/core/Archive.php
+++ b/core/Archive.php
@@ -933,4 +933,12 @@ class Archive
return $idArchivesByMonth;
}
+
+ /**
+ * @internal
+ */
+ public static function clearStaticCache()
+ {
+ self::$cache = null;
+ }
}