fix check if app is enabled
This commit is contained in:
parent
71bbb2ea8b
commit
0b98427536
|
@ -50,9 +50,8 @@ class Proxy extends \OC_FileProxy {
|
|||
private static function shouldEncrypt($path) {
|
||||
|
||||
if (is_null(self::$enableEncryption)) {
|
||||
|
||||
if (
|
||||
\OCP\Config::getAppValue('files_encryption', 'enable_encryption', 'true') === 'true'
|
||||
\OCP\App::isEnabled('files_encryption') === true
|
||||
&& Crypt::mode() === 'server'
|
||||
) {
|
||||
|
||||
|
|
Loading…
Reference in New Issue