Permalink
Browse files

Fix called twice

  • Loading branch information...
lustyrain committed Oct 4, 2017
1 parent 31b13ed commit 8bb07c0fd764d313d5bbe4c7c7f0f5dfc7c4d478
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/Cake/Utility/File.php
@@ -582,6 +582,7 @@ public function mime() {
public function clearStatCache($all = false) {
if ($all === false && version_compare(PHP_VERSION, '5.3.0') >= 0) {
clearstatcache(true, $this->path);
return ;
}
clearstatcache();

0 comments on commit 8bb07c0

Please sign in to comment.