run first getUsersItemShared() with the owner

This commit is contained in:
Bjoern Schiessle 2013-10-18 17:48:35 +02:00
parent 60e219da43
commit 2221aa9ca4
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ class Shared_Updater {
$info = \OC\Files\Filesystem::getFileInfo($target);
$checkedUser = array($uidOwner);
// Correct Shared folders of other users shared with
$users = \OCP\Share::getUsersItemShared('file', $info['fileid'], $currentOwner, true);
$users = \OCP\Share::getUsersItemShared('file', $info['fileid'], $uidOwner, true);
if (!empty($users)) {
while (!empty($users)) {
$reshareUsers = array();