summaryrefslogtreecommitdiffstats
path: root/lib/private/files/stream/encryption.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/files/stream/encryption.php')
-rw-r--r--lib/private/files/stream/encryption.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/private/files/stream/encryption.php b/lib/private/files/stream/encryption.php
index 79493311a43..910357eef45 100644
--- a/lib/private/files/stream/encryption.php
+++ b/lib/private/files/stream/encryption.php
@@ -242,6 +242,10 @@ class Encryption extends Wrapper {
}
+ public function stream_eof() {
+ return $this->position >= $this->unencryptedSize;
+ }
+
public function stream_read($count) {
$result = '';