diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-04-02 11:07:07 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-04-07 13:30:30 +0200 |
commit | 8ffa6db110007dc053db0073e14c9374b75a4c16 (patch) | |
tree | 996c96888d9f7ffe72c49fe2a2f980d2ad3f55cb /lib/private/files/stream | |
parent | 391fab35f078bd37d7b432eaf6a1c6fab701dff4 (diff) | |
download | nextcloud-server-8ffa6db110007dc053db0073e14c9374b75a4c16.tar.gz nextcloud-server-8ffa6db110007dc053db0073e14c9374b75a4c16.zip |
fixing unit tests for stream wrapper
Diffstat (limited to 'lib/private/files/stream')
-rw-r--r-- | lib/private/files/stream/encryption.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/files/stream/encryption.php b/lib/private/files/stream/encryption.php index 88957825de0..fcc9984500d 100644 --- a/lib/private/files/stream/encryption.php +++ b/lib/private/files/stream/encryption.php @@ -248,7 +248,7 @@ class Encryption extends Wrapper { $result = ''; // skip the header if we read the file from the beginning - if ($this->position === 0 && !empty($this->header)) { + if ($this->position === 0) { parent::stream_read($this->util->getBlockSize()); } |