diff --git a/lib/Cake/Utility/File.php b/lib/Cake/Utility/File.php index 06ecf6c65..344e00df9 100644 --- a/lib/Cake/Utility/File.php +++ b/lib/Cake/Utility/File.php @@ -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();