|
@@ 925-929 (lines=5) @@
|
| 922 |
|
// allowing the user to resend would spam users who already got a notification |
| 923 |
|
if (\count($result) < \count($recipientList)) { |
| 924 |
|
$items = $this->shareManager->getSharedWith($recipient, $shareType, $node); |
| 925 |
|
if (\count($items) > 0) { |
| 926 |
|
$share = $items[0]; |
| 927 |
|
$share->setMailSend(true); |
| 928 |
|
$this->shareManager->updateShare($share); |
| 929 |
|
} |
| 930 |
|
} |
| 931 |
|
|
| 932 |
|
$l = \OC::$server->getL10N('core'); |
|
@@ 962-966 (lines=5) @@
|
| 959 |
|
$node = $nodes[0]; |
| 960 |
|
|
| 961 |
|
$items = $this->shareManager->getSharedWith($recipient, $shareType, $node); |
| 962 |
|
if (\count($items) > 0) { |
| 963 |
|
$share = $items[0]; |
| 964 |
|
$share->setMailSend(true); |
| 965 |
|
$this->shareManager->updateShare($share); |
| 966 |
|
} |
| 967 |
|
return new Result(); |
| 968 |
|
} |
| 969 |
|
|