summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2014-04-14 12:04:12 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2014-04-23 12:54:25 +0200
commitbffcbac7a78c8b88b581489cca9bb44795cf81eb (patch)
tree2a06d9f193f5e5f56e4cf35d64944365ac6f6fba /lib/private
parent3f6e9e01026031527cd80f1f608d7a98d93e7ebe (diff)
downloadnextcloud-server-bffcbac7a78c8b88b581489cca9bb44795cf81eb.tar.gz
nextcloud-server-bffcbac7a78c8b88b581489cca9bb44795cf81eb.zip
allow to rename group share mount points
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/share/share.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/share/share.php b/lib/private/share/share.php
index 7af68d1b253..756a4d173e4 100644
--- a/lib/private/share/share.php
+++ b/lib/private/share/share.php
@@ -1139,6 +1139,7 @@ class Share extends \OC\Share\Constants {
// Filter out duplicate group shares for users with unique targets
if ($row['share_type'] == self::$shareTypeGroupUserUnique && isset($items[$row['parent']])) {
$row['share_type'] = self::SHARE_TYPE_GROUP;
+ $row['unique_name'] = true; // remember that we use a unique name for this user
$row['share_with'] = $items[$row['parent']]['share_with'];
// Remove the parent group share
unset($items[$row['parent']]);