Fix called twice

This commit is contained in:
LustyRain 2017-10-04 11:39:31 +09:00
parent 31b13edf8a
commit 8bb07c0fd7

View file

@ -582,6 +582,7 @@ class File {
public function clearStatCache($all = false) {
if ($all === false && version_compare(PHP_VERSION, '5.3.0') >= 0) {
clearstatcache(true, $this->path);
return ;
}
clearstatcache();