summaryrefslogtreecommitdiffstats
path: root/lib/private/files
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/files')
-rw-r--r--lib/private/files/stream/quota.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/private/files/stream/quota.php b/lib/private/files/stream/quota.php
index 87301c23614..60e60da8e67 100644
--- a/lib/private/files/stream/quota.php
+++ b/lib/private/files/stream/quota.php
@@ -81,6 +81,8 @@ class Quota {
} else {
$this->limit -= $offset;
}
+ // this wrapper needs to return "true" for success.
+ // the fseek call itself returns 0 on succeess
return !fseek($this->source, $offset, $whence);
}