run first getUsersItemShared() with the owner

remotes/origin/stable6
Bjoern Schiessle 12 years ago
parent 60e219da43
commit 2221aa9ca4
  1. 2
      apps/files_sharing/lib/updater.php

@ -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();

Loading…
Cancel
Save