aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_encryption/settings-personal.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-02-13 16:28:49 +0100
committerRobin Appelman <icewind@owncloud.com>2014-02-13 16:28:49 +0100
commit181bbd4325ea2b21ff8ecca93eb5ac839d6a739d (patch)
tree18fdd4bfdbd2de538ebe996e7ddb580a07450994 /apps/files_encryption/settings-personal.php
parent4b84e3a7e8bf7dc0a8e62074803f97a81571ca22 (diff)
downloadnextcloud-server-181bbd4325ea2b21ff8ecca93eb5ac839d6a739d.tar.gz
nextcloud-server-181bbd4325ea2b21ff8ecca93eb5ac839d6a739d.zip
Remove usage of legacy OC_Appconfig
Diffstat (limited to 'apps/files_encryption/settings-personal.php')
-rw-r--r--apps/files_encryption/settings-personal.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_encryption/settings-personal.php b/apps/files_encryption/settings-personal.php
index ffcb99602e2..09e9df05352 100644
--- a/apps/files_encryption/settings-personal.php
+++ b/apps/files_encryption/settings-personal.php
@@ -20,7 +20,7 @@ $privateKeySet = $session->getPrivateKey() !== false;
// did we tried to initialize the keys for this session?
$initialized = $session->getInitialized();
-$recoveryAdminEnabled = OC_Appconfig::getValue('files_encryption', 'recoveryAdminEnabled');
+$recoveryAdminEnabled = \OC::$server->getAppConfig()->getValue('files_encryption', 'recoveryAdminEnabled');
$recoveryEnabledForUser = $util->recoveryEnabledForUser();
$result = false;