From 6d85cf2a0b021a9406a979c2d791ab665f275be9 Mon Sep 17 00:00:00 2001 From: Bjoern Schiessle Date: Fri, 26 Sep 2014 13:10:31 +0200 Subject: [PATCH] for group shares we don't need a extra db entry of groupTarget equals itemTarget --- lib/private/share/share.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/private/share/share.php b/lib/private/share/share.php index 3bae382d34a..efd8a220bb8 100644 --- a/lib/private/share/share.php +++ b/lib/private/share/share.php @@ -1660,9 +1660,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) { -- 2.39.5