diff options
author | Robin Appelman <icewind@owncloud.com> | 2015-06-22 18:21:54 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2015-06-22 18:21:54 +0200 |
commit | 5e1865530b7c11884a5a889d40aa30768d6388e3 (patch) | |
tree | 3cfda9650f13f9885827968f9147c6bf419dd793 /apps/files_sharing/lib/updater.php | |
parent | a88b370dc84c4dfdcab7a128900829fbe8204ca7 (diff) | |
download | nextcloud-server-5e1865530b7c11884a5a889d40aa30768d6388e3.tar.gz nextcloud-server-5e1865530b7c11884a5a889d40aa30768d6388e3.zip |
take share target into account when updating recipient etags
Diffstat (limited to 'apps/files_sharing/lib/updater.php')
-rw-r--r-- | apps/files_sharing/lib/updater.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/lib/updater.php b/apps/files_sharing/lib/updater.php index 88bb68aa36e..5a0326c4288 100644 --- a/apps/files_sharing/lib/updater.php +++ b/apps/files_sharing/lib/updater.php @@ -77,10 +77,10 @@ class Shared_Updater { $shareType = $params['shareType']; if ($shareType === \OCP\Share::SHARE_TYPE_USER) { - self::correctUsersFolder($shareWith, '/'); + self::correctUsersFolder($shareWith, $params['fileTarget']); } elseif ($shareType === \OCP\Share::SHARE_TYPE_GROUP) { foreach (\OC_Group::usersInGroup($shareWith) as $user) { - self::correctUsersFolder($user, '/'); + self::correctUsersFolder($user, $params['fileTarget']); } } } |