update etags for user we haven't checked yet

This commit is contained in:
Bjoern Schiessle 2013-10-18 17:47:01 +02:00
parent 6ae761d946
commit 60e219da43
1 changed files with 1 additions and 1 deletions

View File

@ -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