|
@@ 679-681 (lines=3) @@
|
| 676 |
|
$this->shareNotificationForSharer('unshared_user_self', $share->getSharedWith(), $share->getNodeId(), $share->getNodeType()); |
| 677 |
|
|
| 678 |
|
// Owner |
| 679 |
|
if ($this->currentUser->getUID() !== null) { |
| 680 |
|
$this->shareNotificationForOriginalOwners($this->currentUser->getUID(), 'unshared_user_by', $share->getSharedWith(), $share->getNodeId(), $share->getNodeType()); |
| 681 |
|
} |
| 682 |
|
|
| 683 |
|
// Recipient |
| 684 |
|
$this->addNotificationsForUser( |
|
@@ 707-709 (lines=3) @@
|
| 704 |
|
|
| 705 |
|
// User performing the share |
| 706 |
|
$this->shareNotificationForSharer('unshared_group_self', $share->getSharedWith(), $share->getNodeId(), $share->getNodeType()); |
| 707 |
|
if ($this->currentUser->getUID() !== null) { |
| 708 |
|
$this->shareNotificationForOriginalOwners($this->currentUser->getUID(), 'unshared_group_by', $share->getSharedWith(), $share->getNodeId(), $share->getNodeType()); |
| 709 |
|
} |
| 710 |
|
|
| 711 |
|
$offset = 0; |
| 712 |
|
$users = $group->searchUsers('', self::USER_BATCH_SIZE, $offset); |