From 60e219da43e9a15ba180c511527b64159a9974ae Mon Sep 17 00:00:00 2001 From: Bjoern Schiessle Date: Fri, 18 Oct 2013 17:47:01 +0200 Subject: [PATCH] update etags for user we haven't checked yet --- apps/files_sharing/lib/updater.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/files_sharing/lib/updater.php b/apps/files_sharing/lib/updater.php index 2b4c799cf1..891e87ec40 100644 --- a/apps/files_sharing/lib/updater.php +++ b/apps/files_sharing/lib/updater.php @@ -39,7 +39,7 @@ class Shared_Updater { while (!empty($users)) { $reshareUsers = array(); foreach ($users as $user) { - if ( in_array($user, $checkedUser) ) { + if ( !in_array($user, $checkedUser) ) { $etag = \OC\Files\Filesystem::getETag(''); \OCP\Config::setUserValue($user, 'files_sharing', 'etag', $etag); // Look for reshares