check if encryption app is enabled
This commit is contained in:
parent
57092e817f
commit
96c27ead92
|
@ -51,8 +51,7 @@ class Proxy extends \OC_FileProxy {
|
|||
|
||||
if (is_null(self::$enableEncryption)) {
|
||||
|
||||
if (
|
||||
\OCP\Config::getAppValue('files_encryption', 'enable_encryption', 'true') === 'true'
|
||||
if (\OCP\Config::getAppValue('files_encryption', 'enabled', 'true') === 'true'
|
||||
&& Crypt::mode() === 'server'
|
||||
) {
|
||||
|
||||
|
|
Loading…
Reference in New Issue