diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-12-03 16:41:23 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-12-03 16:41:23 +0100 |
commit | c60c793cf2c179838710946c5db31b3f26b645b4 (patch) | |
tree | f340f2025db994b34415988c17200c473a3f2501 /lib/private/route | |
parent | 1fe7957fd0210c6a3f6ad5c810f1ba5814ff68d6 (diff) | |
download | nextcloud-server-c60c793cf2c179838710946c5db31b3f26b645b4.tar.gz nextcloud-server-c60c793cf2c179838710946c5db31b3f26b645b4.zip |
More cleanups of OC_Config usage
Diffstat (limited to 'lib/private/route')
-rw-r--r-- | lib/private/route/router.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/route/router.php b/lib/private/route/router.php index 25860ee46bf..4ca5e16ddf2 100644 --- a/lib/private/route/router.php +++ b/lib/private/route/router.php @@ -260,7 +260,7 @@ class Router implements IRouter { $this->loadRoutes($app); } else if (substr($url, 0, 6) === '/core/' or substr($url, 0, 10) === '/settings/') { \OC::$REQUESTEDAPP = $url; - if (!\OC_Config::getValue('maintenance', false) && !\OCP\Util::needUpgrade()) { + if (!\OC::$server->getConfig()->getSystemValue('maintenance', false) && !\OCP\Util::needUpgrade()) { \OC_App::loadApps(); } $this->loadRoutes('core'); |