Skip to content
Snippets Groups Projects
Unverified Commit daa33938 authored by Roeland Jago Douma's avatar Roeland Jago Douma Committed by GitHub
Browse files

Merge pull request #7811 from nextcloud/fix-clearstatcache

Fix call to clearstatcache to actually use the file path
parents 1993eb05 01040daf
No related branches found
No related tags found
No related merge requests found
......@@ -180,7 +180,7 @@ class Local extends \OC\Files\Storage\Common {
public function filemtime($path) {
$fullPath = $this->getSourcePath($path);
clearstatcache($fullPath);
clearstatcache(true, $fullPath);
if (!$this->file_exists($path)) {
return false;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment