for group shares we don't need a extra db entry of groupTarget equals itemTarget

This commit is contained in:
Bjoern Schiessle 2014-09-26 13:10:31 +02:00
parent d242e518f9
commit ed85055d31

View 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) {