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 02:54:42 +0300
committerdiosmosis <benaka@piwik.pro>2015-05-01 02:54:42 +0300
commitc08394824e23376ead83246214e3a911ae2d60bf (patch)
treeaeaa1558abdbd229c4c438b3b981c78816b78b3b /core/FrontController.php
parent2a38bb2138ef6b1db266a30a099e77968f0582ff (diff)
Remove FrontController::createConfigObject as it should no longer be necessary.
Diffstat (limited to 'core/FrontController.php')
-rw-r--r--core/FrontController.php11
1 files changed, 0 insertions, 11 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(