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-05-01 06:03:58 +0300
committerdiosmosis <benaka@piwik.pro>2015-05-01 06:03:58 +0300
commitd35273b3c77c19db9a1ad754d88ba4fb95ea239b (patch)
tree61bf0728e87fa759568da157cb8075c035a94a72 /core/Config.php
parentc1e0a666e075461f74b4429decd69b4b4039a2aa (diff)
Remove GlobalSettingsProvider interface and replace w/ GlobalSettingsProvider class, the class is the old IniSettingsProvider class.
Diffstat (limited to 'core/Config.php')
-rw-r--r--core/Config.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/core/Config.php b/core/Config.php
index 3e8ab98797..ac6f9c18af 100644
--- a/core/Config.php
+++ b/core/Config.php
@@ -11,7 +11,6 @@ namespace Piwik;
use Exception;
use Piwik\Application\Kernel\GlobalSettingsProvider;
-use Piwik\Application\Kernel\GlobalSettingsProvider\IniSettingsProvider;
/**
* Singleton that provides read & write access to Piwik's INI configuration.
@@ -52,7 +51,7 @@ class Config extends Singleton
protected $doNotWriteConfigInTests = false;
/**
- * @var IniSettingsProvider
+ * @var GlobalSettingsProvider
*/
protected $settings;
@@ -60,7 +59,7 @@ class Config extends Singleton
public function __construct($pathGlobal = null, $pathLocal = null, $pathCommon = null)
{
- $this->settings = IniSettingsProvider::getSingletonInstance($pathGlobal, $pathLocal, $pathCommon);
+ $this->settings = GlobalSettingsProvider::getSingletonInstance($pathGlobal, $pathLocal, $pathCommon);
}
/**