summaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib/Lib/Storage/SFTPReadStream.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_external/lib/Lib/Storage/SFTPReadStream.php')
-rw-r--r--apps/files_external/lib/Lib/Storage/SFTPReadStream.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/apps/files_external/lib/Lib/Storage/SFTPReadStream.php b/apps/files_external/lib/Lib/Storage/SFTPReadStream.php
index 680a51cfa10..c4749b15453 100644
--- a/apps/files_external/lib/Lib/Storage/SFTPReadStream.php
+++ b/apps/files_external/lib/Lib/Storage/SFTPReadStream.php
@@ -136,9 +136,6 @@ class SFTPReadStream implements File {
$data = substr($this->buffer, 0, $count);
$this->buffer = substr($this->buffer, $count);
- if ($this->buffer === false) {
- $this->buffer = '';
- }
$this->readPosition += strlen($data);
return $data;