]> source.dussan.org Git - nextcloud-server.git/commitdiff
https://github.com/owncloud/core/pull/15305#discussion_r27382305
authorThomas Müller <thomas.mueller@tmit.eu>
Mon, 30 Mar 2015 11:36:56 +0000 (13:36 +0200)
committerThomas Müller <thomas.mueller@tmit.eu>
Tue, 7 Apr 2015 11:30:28 +0000 (13:30 +0200)
Conflicts:
lib/private/files/stream/encryption.php

lib/private/files/stream/encryption.php

index 62b2ad9d9afa1f64c90e15fa9851f7d92f575d70..3e8c3a912dade0c2c1f1241908ad37c6983f8063 100644 (file)
@@ -205,6 +205,8 @@ class Encryption extends Wrapper {
                $this->loadContext('ocencryption');
 
                $this->position = 0;
+               $this->cache = '';
+               $this->writeFlag = false;
                $this->unencryptedBlockSize = $this->encryptionModule->getUnencryptedBlockSize();
 
                if (