diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2013-10-18 17:48:35 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2013-10-23 16:34:26 +0200 |
commit | 2221aa9ca42bcfdf9b00e46924947238daf75047 (patch) | |
tree | 3d6d86cbd427a5bd8755112442cfc6ada43562a8 | |
parent | 60e219da43e9a15ba180c511527b64159a9974ae (diff) | |
download | nextcloud-server-2221aa9ca42bcfdf9b00e46924947238daf75047.tar.gz nextcloud-server-2221aa9ca42bcfdf9b00e46924947238daf75047.zip |
run first getUsersItemShared() with the owner
-rw-r--r-- | apps/files_sharing/lib/updater.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/updater.php b/apps/files_sharing/lib/updater.php index 891e87ec40a..3381f75f16d 100644 --- a/apps/files_sharing/lib/updater.php +++ b/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(); |