fix indention
This commit is contained in:
parent
102120f105
commit
abd48496d2
1 changed files with 12 additions and 12 deletions
|
@ -38,12 +38,12 @@ class Shared_Updater {
|
||||||
while (!empty($users)) {
|
while (!empty($users)) {
|
||||||
$reshareUsers = array();
|
$reshareUsers = array();
|
||||||
foreach ($users as $user) {
|
foreach ($users as $user) {
|
||||||
if ( $user !== $uidOwner ) {
|
if ( $user !== $uidOwner ) {
|
||||||
$etag = \OC\Files\Filesystem::getETag('');
|
$etag = \OC\Files\Filesystem::getETag('');
|
||||||
\OCP\Config::setUserValue($user, 'files_sharing', 'etag', $etag);
|
\OCP\Config::setUserValue($user, 'files_sharing', 'etag', $etag);
|
||||||
// Look for reshares
|
// Look for reshares
|
||||||
$reshareUsers = array_merge($reshareUsers, \OCP\Share::getUsersItemShared('file', $info['fileid'], $user, true));
|
$reshareUsers = array_merge($reshareUsers, \OCP\Share::getUsersItemShared('file', $info['fileid'], $user, true));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$users = $reshareUsers;
|
$users = $reshareUsers;
|
||||||
}
|
}
|
||||||
|
@ -90,12 +90,12 @@ class Shared_Updater {
|
||||||
while (!empty($users)) {
|
while (!empty($users)) {
|
||||||
$reshareUsers = array();
|
$reshareUsers = array();
|
||||||
foreach ($users as $user) {
|
foreach ($users as $user) {
|
||||||
if ($user !== $uidOwner) {
|
if ($user !== $uidOwner) {
|
||||||
$etag = \OC\Files\Filesystem::getETag('');
|
$etag = \OC\Files\Filesystem::getETag('');
|
||||||
\OCP\Config::setUserValue($user, 'files_sharing', 'etag', $etag);
|
\OCP\Config::setUserValue($user, 'files_sharing', 'etag', $etag);
|
||||||
// Look for reshares
|
// Look for reshares
|
||||||
$reshareUsers = array_merge($reshareUsers, \OCP\Share::getUsersItemShared('file', $params['fileSource'], $user, true));
|
$reshareUsers = array_merge($reshareUsers, \OCP\Share::getUsersItemShared('file', $params['fileSource'], $user, true));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$users = $reshareUsers;
|
$users = $reshareUsers;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue