From: Björn Schießle Date: Wed, 22 May 2013 16:05:12 +0000 (+0200) Subject: settings clean-up; There is no blacklist in the new encryption app X-Git-Tag: v6.0.0alpha2~743^2~9 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=80dea1a8c5c9bab10176d1d7b04b363a9dda4bee;p=nextcloud-server.git settings clean-up; There is no blacklist in the new encryption app --- diff --git a/apps/files_encryption/settings-personal.php b/apps/files_encryption/settings-personal.php index 90edc0eae24..ada8ffbc318 100644 --- a/apps/files_encryption/settings-personal.php +++ b/apps/files_encryption/settings-personal.php @@ -11,19 +11,6 @@ $tmpl = new OCP\Template( 'files_encryption', 'settings-personal'); -$blackList = explode( ',', \OCP\Config::getAppValue( 'files_encryption', 'type_blacklist', '' ) ); - -// Add human readable message in case nothing is blacklisted -if ( - 1 == count( $blackList ) - && $blackList[0] == '' -) { - - // FIXME: Make this string translatable - $blackList[0] = "(None - all filetypes will be encrypted)"; - -} - $user = \OCP\USER::getUser(); $view = new \OC_FilesystemView( '/' ); $util = new \OCA\Encryption\Util( $view, $user ); @@ -36,7 +23,6 @@ $recoveryEnabledForUser = $util->recoveryEnabledForUser(); $tmpl->assign( 'recoveryEnabled', $recoveryAdminEnabled ); $tmpl->assign( 'recoveryEnabledForUser', $recoveryEnabledForUser ); -$tmpl->assign( 'blacklist', $blackList ); return $tmpl->fetchPage(); diff --git a/apps/files_encryption/templates/settings-personal.php b/apps/files_encryption/templates/settings-personal.php index 33989416d33..14e8ce960a2 100644 --- a/apps/files_encryption/templates/settings-personal.php +++ b/apps/files_encryption/templates/settings-personal.php @@ -4,28 +4,9 @@ t( 'Encryption' ) ); ?> -

- -

- -

- File types -
- t( 'The following file types will not be encrypted:' ) ); ?> -

- - - -

- +
t( "Enabling this option will allow you to reobtain access to your encrypted files if your password is lost" ) ); ?>