[Pkg-owncloud-commits] [owncloud] 14/78: also clear statcache in mapped local

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 0ca15003301bcdf2625c75fbd0f874922899dde3
Author: Robin Appelman <icewind at owncloud.com>
Date:   Tue Dec 2 16:39:03 2014 +0100

    also clear statcache in mapped local
---
 lib/private/files/storage/mappedlocal.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/private/files/storage/mappedlocal.php b/lib/private/files/storage/mappedlocal.php
index 4ff02d2..b08f8b2 100644
--- a/lib/private/files/storage/mappedlocal.php
+++ b/lib/private/files/storage/mappedlocal.php
@@ -149,6 +149,7 @@ class MappedLocal extends \OC\Files\Storage\Common {
 	}
 
 	public function filemtime($path) {
+		clearstatcache($this->buildPath($path));
 		return filemtime($this->buildPath($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