Added comment for clarification about fseek() call in quota.php
This commit is contained in:
parent
c8df27de73
commit
ebcd9ae628
|
@ -81,6 +81,8 @@ class Quota {
|
||||||
} else {
|
} else {
|
||||||
$this->limit -= $offset;
|
$this->limit -= $offset;
|
||||||
}
|
}
|
||||||
|
// 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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue