Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2015-06-22 19:21:54 +0300
committerVincent Petry <pvince81@owncloud.com>2015-07-01 10:59:15 +0300
commit40ab639013427c17cdf050b1e905d47afb74a566 (patch)
treed12878bd19d0b894dd7597bb632b87c76c1303fb /apps
parentf8e6800cd4a7350d73ce5a70b008d66b57ac3bd5 (diff)
take share target into account when updating recipient etags
Diffstat (limited to 'apps')
-rw-r--r--apps/files_sharing/lib/updater.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/lib/updater.php b/apps/files_sharing/lib/updater.php
index 9d8ae7cbb4f..86731835b7c 100644
--- a/apps/files_sharing/lib/updater.php
+++ b/apps/files_sharing/lib/updater.php
@@ -145,10 +145,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']);
}
}
}