diff options
author | diosmosis <benaka@piwik.pro> | 2015-04-19 09:50:21 +0300 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2015-05-10 08:41:17 +0300 |
commit | 19c46aaaf366edad3454c0c8e717cfef057f0136 (patch) | |
tree | 0ad4b5a01652027abadfb26a0a71b88e793f2011 /core/UrlHelper.php | |
parent | 6c021792f4cc0e53c170d34a1204b7f90ee44ab5 (diff) |
Fix TrackerTest.php (includes fix to RequestCommand due to cache use in UrlHelper::getArrayFromQueryString).
Diffstat (limited to 'core/UrlHelper.php')
-rw-r--r-- | core/UrlHelper.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/UrlHelper.php b/core/UrlHelper.php index 20501515f2..bcea3c979f 100644 --- a/core/UrlHelper.php +++ b/core/UrlHelper.php @@ -156,6 +156,9 @@ class UrlHelper return array(); } + // TODO: this method should not use a cache. callers should instead have their own cache, configured through DI. + // one undesirable side effect of using a cache here, is that this method can now init the StaticContainer, which makes setting + // test environment for RequestCommand more complicated. $cache = Cache::getTransientCache(); $cacheKey = 'arrayFromQuery' . $urlQuery; |