diff options
author | Thomas Steur <tsteur@users.noreply.github.com> | 2014-11-10 04:03:51 +0300 |
---|---|---|
committer | Thomas Steur <tsteur@users.noreply.github.com> | 2014-11-10 04:03:51 +0300 |
commit | dd94c498e7969859d6d1055e687f8bfe5574fadd (patch) | |
tree | 29e6bc41a81e3bfe977a4918859382242281fb72 /plugins/SitesManager/SiteUrls.php | |
parent | 6ba231e0cd8b54623435973817ac22310dc582e8 (diff) |
do not use a cache if development mode is enabled
Diffstat (limited to 'plugins/SitesManager/SiteUrls.php')
-rw-r--r-- | plugins/SitesManager/SiteUrls.php | 2 |
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); } |