fix check if app is enabled

remotes/origin/stable6
Bjoern Schiessle 12 years ago
parent 4d2dfa98c0
commit 663009f895
  1. 3
      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'
) {

Loading…
Cancel
Save