[Pkg-owncloud-commits] [owncloud] 66/131: set targetIsEncrypted to true if file cache indicates that we try to read a encrypted file

David Prévot taffit at moszumanska.debian.org
Tue Aug 11 15:58:33 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to annotated tag v8.1.1
in repository owncloud.

commit 001dd400a1de041e0cd13e14755fd8abfac4f626
Author: Bjoern Schiessle <schiessle at owncloud.com>
Date:   Fri Jul 10 13:14:07 2015 +0200

    set targetIsEncrypted to true if file cache indicates that we try to read a encrypted file
---
 lib/private/files/storage/wrapper/encryption.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/private/files/storage/wrapper/encryption.php b/lib/private/files/storage/wrapper/encryption.php
index ebd6062..6129079 100644
--- a/lib/private/files/storage/wrapper/encryption.php
+++ b/lib/private/files/storage/wrapper/encryption.php
@@ -403,6 +403,7 @@ class Encryption extends Wrapper {
 						// OC_DEFAULT_MODULE to read the file
 						$encryptionModule = $this->encryptionManager->getEncryptionModule('OC_DEFAULT_MODULE');
 						$shouldEncrypt = true;
+						$targetIsEncrypted = true;
 					}
 				}
 			} catch (ModuleDoesNotExistsException $e) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list