mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
for group shares we don't need a extra db entry of groupTarget equals itemTarget
This commit is contained in:
parent
d242e518f9
commit
ed85055d31
1 changed files with 3 additions and 3 deletions
|
|
@ -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) {
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue