[Pkg-owncloud-commits] [owncloud] 57/215: Update encryption.php
David Prévot
taffit at moszumanska.debian.org
Tue May 5 01:01:22 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch stable8
in repository owncloud.
commit 49df8ef525c11e6468a65fd705fef9e0e3a71374
Author: jknockaert <jasper at knockaert.nl>
Date: Wed Apr 22 12:28:07 2015 +0200
Update encryption.php
---
lib/private/files/stream/encryption.php | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/private/files/stream/encryption.php b/lib/private/files/stream/encryption.php
index 6fe205d..5266027 100644
--- a/lib/private/files/stream/encryption.php
+++ b/lib/private/files/stream/encryption.php
@@ -237,6 +237,7 @@ class Encryption extends Wrapper {
$accessList = $this->file->getAccessList($sharePath);
$this->newHeader = $this->encryptionModule->begin($this->fullPath, $this->uid, $this->header, $accessList);
+ if (!($path==='')){
if (
$mode === 'w'
|| $mode === 'w+'
@@ -250,7 +251,7 @@ class Encryption extends Wrapper {
} else {
parent::stream_read($this->util->getHeaderSize());
}
-
+ }
return true;
}
--
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