aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/files_encryption/lib/proxy.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files_encryption/lib/proxy.php b/apps/files_encryption/lib/proxy.php
index 33851381919..e6d6841d396 100644
--- a/apps/files_encryption/lib/proxy.php
+++ b/apps/files_encryption/lib/proxy.php
@@ -51,7 +51,8 @@ class Proxy extends \OC_FileProxy {
if (is_null(self::$enableEncryption)) {
- if (\OCP\Config::getAppValue('files_encryption', 'enabled', 'true') === 'true'
+ if (
+ \OCP\App::isEnabled('files_encryption') === true
&& Crypt::mode() === 'server'
) {