From: Bjoern Schiessle Date: Fri, 26 Sep 2014 11:10:31 +0000 (+0200) Subject: for group shares we don't need a extra db entry of groupTarget equals itemTarget X-Git-Tag: v8.0.0alpha1~590^2~4 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ed85055d31ab90fdb64f2cadb3062cbf13d3d3d9;p=nextcloud-server.git for group shares we don't need a extra db entry of groupTarget equals itemTarget --- diff --git a/lib/private/share/share.php b/lib/private/share/share.php index e0e9fcfd05f..504230dde04 100644 --- a/lib/private/share/share.php +++ b/lib/private/share/share.php @@ -1664,9 +1664,9 @@ class Share extends \OC\Share\Constants { $itemTarget = $sourceExists['item_target']; // for group shares we don't need a additional entry if the target is the same - //if($isGroupShare && $groupItemTarget === $itemTarget) { - // continue; - //} + if($isGroupShare && $groupItemTarget === $itemTarget) { + continue; + } } elseif(!$sourceExists && !$isGroupShare) {