mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
in quota wrapper use === instead of ! for better readability and as in other wrappers
This commit is contained in:
parent
561a7e47cd
commit
f83689e1be
1 changed files with 1 additions and 1 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue