aboutsummaryrefslogtreecommitdiffstats
path: root/settings/users.php
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2015-04-01 14:24:56 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-04-07 13:30:30 +0200
commita057108c0c1ec77b6f61f6f387c0714c84653254 (patch)
tree97df67d9dc26852d6cc6c4163a5e3d20f00ee3aa /settings/users.php
parent51302d58120e9050fb8842cf63cef88620f74203 (diff)
downloadnextcloud-server-a057108c0c1ec77b6f61f6f387c0714c84653254.tar.gz
nextcloud-server-a057108c0c1ec77b6f61f6f387c0714c84653254.zip
make recovery key work
Diffstat (limited to 'settings/users.php')
-rw-r--r--settings/users.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/settings/users.php b/settings/users.php
index 08498edec29..0fc9fbeafc2 100644
--- a/settings/users.php
+++ b/settings/users.php
@@ -45,8 +45,8 @@ $groupsInfo = new \OC\Group\MetaData(OC_User::getUser(), $isAdmin, $groupManager
$groupsInfo->setSorting($groupsInfo::SORT_USERCOUNT);
list($adminGroup, $groups) = $groupsInfo->get();
-$recoveryAdminEnabled = OC_App::isEnabled('files_encryption') &&
- $config->getAppValue( 'files_encryption', 'recoveryAdminEnabled', null );
+$recoveryAdminEnabled = OC_App::isEnabled('encryption') &&
+ $config->getAppValue( 'encryption', 'recoveryAdminEnabled', null );
if($isAdmin) {
$subadmins = OC_SubAdmin::getAllSubAdmins();