summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2013-10-18 17:47:01 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2013-10-23 16:34:03 +0200
commit60e219da43e9a15ba180c511527b64159a9974ae (patch)
treef1c3bd44fc9ea87650e0bee269229dc99d138f29 /apps/files_sharing
parent6ae761d94607432b4c2a76276f7a84673f312c62 (diff)
downloadnextcloud-server-60e219da43e9a15ba180c511527b64159a9974ae.tar.gz
nextcloud-server-60e219da43e9a15ba180c511527b64159a9974ae.zip
update etags for user we haven't checked yet
Diffstat (limited to 'apps/files_sharing')
-rw-r--r--apps/files_sharing/lib/updater.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/updater.php b/apps/files_sharing/lib/updater.php
index 2b4c799cf19..891e87ec40a 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