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 <benakamoorthi@fastmail.fm>2014-04-08 03:36:43 +0400
committerdiosmosis <benakamoorthi@fastmail.fm>2014-04-08 03:38:46 +0400
commitadad1cad70c780ecd405b6c6dd241b01ca34f4ef (patch)
tree0a216d8f6116d460df0ccee62caac035c4425178 /core/Config.php
parent0d716d4fe587b4e23d8a261771f8854cb9ff1b5e (diff)
Do not check agains local config path when saving in test mode since parameter can be overridden by call to setTestEnvironment.
Diffstat (limited to 'core/Config.php')
-rw-r--r--core/Config.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/Config.php b/core/Config.php
index 7dd2344a83..041f09e975 100644
--- a/core/Config.php
+++ b/core/Config.php
@@ -632,9 +632,7 @@ class Config extends Singleton
*/
protected function writeConfig($configLocal, $configGlobal, $configCommon, $configCache, $pathLocal, $clear = true)
{
- if ($this->isTest
- && $pathLocal == $this->pathLocal
- ) {
+ if ($this->isTest) {
return;
}