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:
authorThomas Steur <tsteur@users.noreply.github.com>2014-11-10 04:03:51 +0300
committerThomas Steur <tsteur@users.noreply.github.com>2014-11-10 04:03:51 +0300
commitdd94c498e7969859d6d1055e687f8bfe5574fadd (patch)
tree29e6bc41a81e3bfe977a4918859382242281fb72 /plugins/SitesManager/SiteUrls.php
parent6ba231e0cd8b54623435973817ac22310dc582e8 (diff)
do not use a cache if development mode is enabled
Diffstat (limited to 'plugins/SitesManager/SiteUrls.php')
-rw-r--r--plugins/SitesManager/SiteUrls.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/SitesManager/SiteUrls.php b/plugins/SitesManager/SiteUrls.php
index 02d7846d11..140f86f369 100644
--- a/plugins/SitesManager/SiteUrls.php
+++ b/plugins/SitesManager/SiteUrls.php
@@ -24,7 +24,7 @@ class SiteUrls
$cache = $this->getCache();
$siteUrls = $cache->get(self::$allUrlsCacheKey);
- if (empty($siteUrls)) {
+ if (empty($siteUrls) || Development::isEnabled()) {
$siteUrls = $this->getAllSiteUrls();
$cache->set(self::$allUrlsCacheKey, $siteUrls);
}