From f84da4651d27fa89a3a6819ae8ba94bf4a8e223c Mon Sep 17 00:00:00 2001 From: Niklas Keller Date: Sun, 25 Oct 2015 02:50:30 +0100 Subject: [PATCH] Fix clearstatcache signature --- lib/BlockingDriver.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/BlockingDriver.php b/lib/BlockingDriver.php index 4333007..5542c3a 100644 --- a/lib/BlockingDriver.php +++ b/lib/BlockingDriver.php @@ -68,7 +68,7 @@ class BlockingDriver implements Driver { \error_get_last()["message"] )); } else { - \clearstatcache($path); + \clearstatcache(true, $path); return new Success($size); } } @@ -87,7 +87,7 @@ class BlockingDriver implements Driver { return new Success(false); } $isDir = @\is_dir($path); - \clearstatcache($path); + \clearstatcache(true, $path); return new Success($isDir); } @@ -106,7 +106,7 @@ class BlockingDriver implements Driver { return new Success(false); } $isFile = @\is_file($path); - \clearstatcache($path); + \clearstatcache(true, $path); return new Success($isFile); } @@ -124,7 +124,7 @@ class BlockingDriver implements Driver { )); } $mtime = @\filemtime($path); - \clearstatcache($path); + \clearstatcache(true, $path); return new Success($mtime); } @@ -142,7 +142,7 @@ class BlockingDriver implements Driver { )); } $atime = @\fileatime($path); - \clearstatcache($path); + \clearstatcache(true, $path); return new Success($atime); } @@ -160,7 +160,7 @@ class BlockingDriver implements Driver { )); } $ctime = @\filectime($path); - \clearstatcache($path); + \clearstatcache(true, $path); return new Success($ctime); }