diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2014-09-22 11:35:42 +0200 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2014-09-22 11:35:42 +0200 |
commit | f83689e1be43aaa6bf2fbac2772868151597911b (patch) | |
tree | 9814a2bb50e80717756126f5aa05884c899d884d /lib/private/files/stream | |
parent | 561a7e47cd68429baa9142f7c09c424c8c9ee81a (diff) | |
download | nextcloud-server-f83689e1be43aaa6bf2fbac2772868151597911b.tar.gz nextcloud-server-f83689e1be43aaa6bf2fbac2772868151597911b.zip |
in quota wrapper use === instead of ! for better readability and as in other wrappers
Diffstat (limited to 'lib/private/files/stream')
-rw-r--r-- | lib/private/files/stream/quota.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/files/stream/quota.php b/lib/private/files/stream/quota.php index bb4623b1a7b..cef9d84f560 100644 --- a/lib/private/files/stream/quota.php +++ b/lib/private/files/stream/quota.php @@ -83,7 +83,7 @@ class Quota { } // this wrapper needs to return "true" for success. // the fseek call itself returns 0 on succeess - return !fseek($this->source, $offset, $whence); + return fseek($this->source, $offset, $whence) === 0; } public function stream_tell() { |