@@ 923-927 (lines=5) @@ | ||
920 | // allowing the user to resend would spam users who already got a notification |
|
921 | if (\count($result) < \count($recipientList)) { |
|
922 | $items = $this->shareManager->getSharedWith($recipient, $shareType, $node); |
|
923 | if (\count($items) > 0) { |
|
924 | $share = $items[0]; |
|
925 | $share->setMailSend(true); |
|
926 | $this->shareManager->updateShare($share); |
|
927 | } |
|
928 | } |
|
929 | ||
930 | $message = empty($result) |
|
@@ 957-961 (lines=5) @@ | ||
954 | $node = $nodes[0]; |
|
955 | ||
956 | $items = $this->shareManager->getSharedWith($recipient, $shareType, $node); |
|
957 | if (\count($items) > 0) { |
|
958 | $share = $items[0]; |
|
959 | $share->setMailSend(true); |
|
960 | $this->shareManager->updateShare($share); |
|
961 | } |
|
962 | return new Result(); |
|
963 | } |
|
964 |