From: Jörn Friedrich Dreyer Date: Mon, 22 Sep 2014 09:35:42 +0000 (+0200) Subject: in quota wrapper use === instead of ! for better readability and as in other wrappers X-Git-Tag: v8.0.0alpha1~636^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f83689e1be43aaa6bf2fbac2772868151597911b;p=nextcloud-server.git in quota wrapper use === instead of ! for better readability and as in other wrappers --- 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() {