in quota wrapper use === instead of ! for better readability and as in other wrappers

This commit is contained in:
Jörn Friedrich Dreyer 2014-09-22 11:35:42 +02:00
parent 561a7e47cd
commit f83689e1be

View file

@ -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() {