From ab93f1949dab8e71299b27552e527beb04f89de4 Mon Sep 17 00:00:00 2001 From: Jörn Friedrich Dreyer Date: Fri, 27 Jun 2014 12:14:31 +0200 Subject: update hasUpdated description, overwrtie testStat for objectstore test --- lib/private/files/storage/common.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/private/files/storage') diff --git a/lib/private/files/storage/common.php b/lib/private/files/storage/common.php index ecc75298b66..9657b511f15 100644 --- a/lib/private/files/storage/common.php +++ b/lib/private/files/storage/common.php @@ -279,6 +279,11 @@ abstract class Common implements \OC\Files\Storage\Storage { /** * check if a file or folder has been updated since $time * + * The method is only used to check if the cache needs to be updated. Storage backends that don't support checking + * the mtime should always return false here. As a result storage implementations that always return false expect + * exclusive access to the backend and will not pick up files that have been added in a way that circumvents + * ownClouds filesystem. + * * @param string $path * @param int $time * @return bool -- cgit v1.2.3