|
@@ 700-702 (lines=3) @@
|
| 697 |
|
protected function shareWithUser($shareWith, $fileSource, $itemType, $fileTarget) { |
| 698 |
|
// User performing the share |
| 699 |
|
$this->shareNotificationForSharer('shared_user_self', $shareWith, $fileSource, $itemType); |
| 700 |
|
if ($this->currentUser->getUID() !== null) { |
| 701 |
|
$this->shareNotificationForOriginalOwners($this->currentUser->getUID(), 'reshared_user_by', $shareWith, $fileSource, $itemType); |
| 702 |
|
} |
| 703 |
|
|
| 704 |
|
// New shared user |
| 705 |
|
$this->addNotificationsForUser( |
|
@@ 731-733 (lines=3) @@
|
| 728 |
|
|
| 729 |
|
// User performing the share |
| 730 |
|
$this->shareNotificationForSharer('shared_group_self', $shareWith, $fileSource, $itemType); |
| 731 |
|
if ($this->currentUser->getUID() !== null) { |
| 732 |
|
$this->shareNotificationForOriginalOwners($this->currentUser->getUID(), 'reshared_group_by', $shareWith, $fileSource, $itemType); |
| 733 |
|
} |
| 734 |
|
|
| 735 |
|
$offset = 0; |
| 736 |
|
$users = $group->searchUsers('', self::USER_BATCH_SIZE, $offset); |