diff options
author | mattab <matthieu.aubry@gmail.com> | 2015-02-20 23:54:37 +0300 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2015-02-20 23:54:37 +0300 |
commit | 7677d45c16033d991bc8883a0b75d1f4d4b2ec9e (patch) | |
tree | d1c209cfc1638019ece4619b07566a2e08617bfb /core/Updates.php | |
parent | 405eece8786477386fdd951a5b303ae57065e002 (diff) |
Remove calls to config->init()
Diffstat (limited to 'core/Updates.php')
-rw-r--r-- | core/Updates.php | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/core/Updates.php b/core/Updates.php index b410effd21..85e7e589ab 100644 --- a/core/Updates.php +++ b/core/Updates.php @@ -56,7 +56,6 @@ abstract class Updates static function enableMaintenanceMode() { $config = Config::getInstance(); - $config->init(); $tracker = $config->Tracker; $tracker['record_statistics'] = 0; @@ -75,7 +74,6 @@ abstract class Updates static function disableMaintenanceMode() { $config = Config::getInstance(); - $config->init(); $tracker = $config->Tracker; $tracker['record_statistics'] = 1; @@ -91,7 +89,6 @@ abstract class Updates public static function deletePluginFromConfigFile($pluginToDelete) { $config = Config::getInstance(); - $config->init(); if (isset($config->Plugins['Plugins'])) { $plugins = $config->Plugins['Plugins']; if (($key = array_search($pluginToDelete, $plugins)) !== false) { |