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 <benaka@piwik.pro>2015-03-31 02:46:43 +0300
committerdiosmosis <benaka@piwik.pro>2015-03-31 02:46:43 +0300
commit2bb38424d624a32604e49dddc973bc29500e5401 (patch)
treeba7cc9a6570f8614606e529e82e4b209c0cce238 /core/Config.php
parent459efa7dd9b6b09a84542b0def3a53ff8993b49a (diff)
Fix issue where reference not returned by IniFileChain::get when settings file is completely empty and add test case. Also add type hint to IniFileChain::__construct.
Diffstat (limited to 'core/Config.php')
-rw-r--r--core/Config.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/core/Config.php b/core/Config.php
index 698dc28a08..91853de733 100644
--- a/core/Config.php
+++ b/core/Config.php
@@ -422,10 +422,6 @@ class Config extends Singleton
}
$section =& $this->settings->get($name);
- if ($section === null) {
- $section = array();
- }
-
return $section;
}