From 69e95531f88f89c793ec383139bb093f0c979596 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Thomas=20M=C3=BCller?= <thomas.mueller@tmit.eu>
Date: Thu, 2 Apr 2015 17:21:47 +0200
Subject: [PATCH] comment change as it broke unit tests

---
 lib/private/files/stream/encryption.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/private/files/stream/encryption.php b/lib/private/files/stream/encryption.php
index 9ef666d78e..b4e06c9994 100644
--- a/lib/private/files/stream/encryption.php
+++ b/lib/private/files/stream/encryption.php
@@ -252,7 +252,7 @@ class Encryption extends Wrapper {
 			parent::stream_read($this->util->getHeaderSize());
 		}
 
-		$count = min($count, $this->unencryptedSize - $this->position);
+//		$count = min($count, $this->unencryptedSize - $this->position);
 		while ($count > 0) {
 			$remainingLength = $count;
 			// update the cache of the current block
-- 
GitLab