aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_encryption/settings-admin.php
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2013-05-15 11:42:22 +0200
committerBjörn Schießle <schiessle@owncloud.com>2013-05-15 11:42:22 +0200
commitd8ae2fa80d004a7c9de7e1c6d012a6c0b6a423aa (patch)
tree5b5686dd838209f92b58f2e905bda0059931ce63 /apps/files_encryption/settings-admin.php
parent7461e9c2b5bdabd0b712f91a22445a0d933cf88f (diff)
downloadnextcloud-server-d8ae2fa80d004a7c9de7e1c6d012a6c0b6a423aa.tar.gz
nextcloud-server-d8ae2fa80d004a7c9de7e1c6d012a6c0b6a423aa.zip
only let the user change the recovery admin settings if a key passwords was entered.
Diffstat (limited to 'apps/files_encryption/settings-admin.php')
-rw-r--r--apps/files_encryption/settings-admin.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/apps/files_encryption/settings-admin.php b/apps/files_encryption/settings-admin.php
index ae9a85643ef..66efc584367 100644
--- a/apps/files_encryption/settings-admin.php
+++ b/apps/files_encryption/settings-admin.php
@@ -10,18 +10,13 @@
$tmpl = new OCP\Template( 'files_encryption', 'settings-admin' );
-$blackList = explode( ',', \OCP\Config::getAppValue( 'files_encryption', 'type_blacklist', '' ) );
-
// Check if an adminRecovery account is enabled for recovering files after lost pwd
$view = new OC_FilesystemView( '' );
$recoveryAdminEnabled = OC_Appconfig::getValue( 'files_encryption', 'recoveryAdminEnabled' );
-$recoveryAdminUid = OC_Appconfig::getValue( 'files_encryption', 'recoveryAdminUid' );
-$tmpl->assign( 'blacklist', $blackList );
$tmpl->assign( 'encryption_mode', \OC_Appconfig::getValue( 'files_encryption', 'mode', 'none' ) );
$tmpl->assign( 'recoveryEnabled', $recoveryAdminEnabled );
-$tmpl->assign( 'recoveryAdminUid', $recoveryAdminUid );
\OCP\Util::addscript( 'files_encryption', 'settings-admin' );
\OCP\Util::addscript( 'core', 'multiselect' );