]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix check if app is enabled
authorBjoern Schiessle <schiessle@owncloud.com>
Wed, 25 Sep 2013 17:23:07 +0000 (19:23 +0200)
committerBjoern Schiessle <schiessle@owncloud.com>
Thu, 26 Sep 2013 09:08:02 +0000 (11:08 +0200)
apps/files_encryption/lib/proxy.php

index 3385138191966b3ecdf035a596145e5f66a0007b..e6d6841d3962cb283cad5f5a98295cacee29ee10 100644 (file)
@@ -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'
                        ) {