diff options
author | diosmosis <benaka@piwik.pro> | 2015-05-01 02:54:42 +0300 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2015-05-01 02:54:42 +0300 |
commit | c08394824e23376ead83246214e3a911ae2d60bf (patch) | |
tree | aeaa1558abdbd229c4c438b3b981c78816b78b3b /core | |
parent | 2a38bb2138ef6b1db266a30a099e77968f0582ff (diff) |
Remove FrontController::createConfigObject as it should no longer be necessary.
Diffstat (limited to 'core')
-rw-r--r-- | core/FrontController.php | 11 | ||||
-rw-r--r-- | core/Tracker.php | 2 |
2 files changed, 0 insertions, 13 deletions
diff --git a/core/FrontController.php b/core/FrontController.php index 8ee4f0c84a..31a447da36 100644 --- a/core/FrontController.php +++ b/core/FrontController.php @@ -188,15 +188,6 @@ class FrontController extends Singleton } /** - * Loads the config file - * This is overridden in tests to ensure test config file is used - */ - public static function createConfigObject() - { - Config::getInstance()->database; // access property - } - - /** * Must be called before dispatch() * - checks that directories are writable, * - loads the configuration file, @@ -215,8 +206,6 @@ class FrontController extends Singleton } $initialized = true; - self::createConfigObject(); - $tmpPath = StaticContainer::get('path.tmp'); $directoriesToCheck = array( diff --git a/core/Tracker.php b/core/Tracker.php index 2c38955ea0..9c22ab804d 100644 --- a/core/Tracker.php +++ b/core/Tracker.php @@ -70,8 +70,6 @@ class Tracker { $this->handleFatalErrors(); - \Piwik\FrontController::createConfigObject(); - if ($this->isDebugModeEnabled()) { ErrorHandler::registerErrorHandler(); ExceptionHandler::setUp(); |