summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-10-17 12:08:31 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2014-10-20 14:44:44 +0200
commitd9907b6fa3c1523ee19bc6c3d888a0d71521819e (patch)
tree10554e49576d0dac186bc558842545b90e7a9388 /lib
parent6af0e76a03b59e82a30e80ea726b274e431a9b61 (diff)
downloadnextcloud-server-d9907b6fa3c1523ee19bc6c3d888a0d71521819e.tar.gz
nextcloud-server-d9907b6fa3c1523ee19bc6c3d888a0d71521819e.zip
move some deprecated usage of OC_Config and OC_AppConfig to \OC::server
Diffstat (limited to 'lib')
-rw-r--r--lib/base.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/base.php b/lib/base.php
index 0086531e523..5ba8d3829ca 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -573,7 +573,7 @@ class OC {
register_shutdown_function(array('OC_Helper', 'cleanTmp'));
if (OC_Config::getValue('installed', false) && !self::checkUpgrade(false)) {
- if (OC_Appconfig::getValue('core', 'backgroundjobs_mode', 'ajax') == 'ajax') {
+ if (\OC::$server->getAppConfig()->getValue('core', 'backgroundjobs_mode', 'ajax') == 'ajax') {
OC_Util::addScript('backgroundjobs');
}
}