diff options
author | diosmosis <benaka@piwik.pro> | 2015-04-07 03:33:58 +0300 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2015-04-07 03:33:58 +0300 |
commit | 29692df109baf946d65e168dcbcac5601dbadbcd (patch) | |
tree | 3615a0e8f1efae4c777dd6bb559eb5488308fe4c /core/Archive.php | |
parent | edc4a1b6c1850889d8845c66a886958e64f0d69c (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.php | 8 |
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; + } } |