|
@@ 692-694 (lines=3) @@
|
| 689 |
|
protected function shareWithUser($shareWith, $fileSource, $itemType, $fileTarget) { |
| 690 |
|
// User performing the share |
| 691 |
|
$this->shareNotificationForSharer('shared_user_self', $shareWith, $fileSource, $itemType); |
| 692 |
|
if ($this->currentUser->getUID() !== null) { |
| 693 |
|
$this->shareNotificationForOriginalOwners($this->currentUser->getUID(), 'reshared_user_by', $shareWith, $fileSource, $itemType); |
| 694 |
|
} |
| 695 |
|
|
| 696 |
|
// New shared user |
| 697 |
|
$this->addNotificationsForUser( |
|
@@ 723-725 (lines=3) @@
|
| 720 |
|
|
| 721 |
|
// User performing the share |
| 722 |
|
$this->shareNotificationForSharer('shared_group_self', $shareWith, $fileSource, $itemType); |
| 723 |
|
if ($this->currentUser->getUID() !== null) { |
| 724 |
|
$this->shareNotificationForOriginalOwners($this->currentUser->getUID(), 'reshared_group_by', $shareWith, $fileSource, $itemType); |
| 725 |
|
} |
| 726 |
|
|
| 727 |
|
$offset = 0; |
| 728 |
|
$users = $group->searchUsers('', self::USER_BATCH_SIZE, $offset); |