mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fix called twice
This commit is contained in:
parent
31b13edf8a
commit
8bb07c0fd7
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue