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: v7.0.3alpha1~43 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=44c7562c7bad02ea9171b771995e3306908532b3;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() {