]> source.dussan.org Git - nextcloud-server.git/commitdiff
Clear statcache before getting the mtime from local storage backends
authorRobin Appelman <icewind@owncloud.com>
Fri, 5 Sep 2014 10:05:04 +0000 (12:05 +0200)
committerVincent Petry <pvince81@owncloud.com>
Fri, 13 Mar 2015 10:53:21 +0000 (11:53 +0100)
lib/private/files/storage/local.php

index e33747bbd5219d6e63da351750b9a48c2ba36701..3204082a468d1d5dc00a49680ddcaaad687ebee4 100644 (file)
@@ -130,6 +130,7 @@ if (\OC_Util::runningOnWindows()) {
                }
 
                public function filemtime($path) {
+                       clearstatcache($this->datadir . $path);
                        return filemtime($this->datadir . $path);
                }