]> source.dussan.org Git - nextcloud-server.git/commitdiff
for group shares we don't need a extra db entry of groupTarget equals itemTarget
authorBjoern Schiessle <schiessle@owncloud.com>
Fri, 26 Sep 2014 11:10:31 +0000 (13:10 +0200)
committerBjoern Schiessle <schiessle@owncloud.com>
Wed, 1 Oct 2014 13:13:48 +0000 (15:13 +0200)
lib/private/share/share.php

index 3bae382d34a3b14e8b29f6cfeeab5057ebbc417b..efd8a220bb8614d6c989f12c55942d5bfa4a1280 100644 (file)
@@ -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)  {