[Pkg-owncloud-commits] [owncloud] 13/78: Clear statcache before getting the mtime from local storage backends

David Prévot taffit at moszumanska.debian.org
Sun May 31 01:59:01 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit 92cbeefa34d27d1b77e03de952a2ff4fe56c2fec
Author: Robin Appelman <icewind at owncloud.com>
Date:   Fri Sep 5 12:05:04 2014 +0200

    Clear statcache before getting the mtime from local storage backends
---
 lib/private/files/storage/local.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/private/files/storage/local.php b/lib/private/files/storage/local.php
index e33747b..3204082 100644
--- a/lib/private/files/storage/local.php
+++ b/lib/private/files/storage/local.php
@@ -130,6 +130,7 @@ if (\OC_Util::runningOnWindows()) {
 		}
 
 		public function filemtime($path) {
+			clearstatcache($this->datadir . $path);
 			return filemtime($this->datadir . $path);
 		}
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list