diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2013-09-25 19:23:07 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2013-09-26 11:08:02 +0200 |
commit | 663009f895f63235d65b32f32dba532e46b9057d (patch) | |
tree | 2a2ec1ed39e1e3307cd32161b90b9cf3893c1a5f /apps | |
parent | 4d2dfa98c0e96f7829127744a741b03819a1666a (diff) | |
download | nextcloud-server-663009f895f63235d65b32f32dba532e46b9057d.tar.gz nextcloud-server-663009f895f63235d65b32f32dba532e46b9057d.zip |
fix check if app is enabled
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_encryption/lib/proxy.php | 3 |
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' ) { |