]> 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>
Fri, 26 Sep 2014 11:10:31 +0000 (13:10 +0200)
lib/private/share/share.php

index e0e9fcfd05fadc269b0b4f34dd2afb5655679d84..504230dde04416ee78a07b2d0103e358fb584392 100644 (file)
@@ -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)  {