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

remotes/origin/fix-10825
Jörn Friedrich Dreyer 11 years ago
parent 561a7e47cd
commit f83689e1be
  1. 2
      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() {

Loading…
Cancel
Save