diff options
author | Daniel Rudolf <github.com@daniel-rudolf.de> | 2021-03-27 18:56:25 +0300 |
---|---|---|
committer | Daniel Rudolf <github.com@daniel-rudolf.de> | 2021-03-27 18:56:25 +0300 |
commit | 84c3ece0edf73b6a7c53a346308c0f6c07d347cc (patch) | |
tree | bf4a7ba58b82073910ba1f2241e4e6bf9c70489d /lib/Service/ShareService.php | |
parent | 220ea16ec00e92250c01426cce80d46647c12368 (diff) |
Code cleanup
Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
Diffstat (limited to 'lib/Service/ShareService.php')
-rw-r--r-- | lib/Service/ShareService.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Service/ShareService.php b/lib/Service/ShareService.php index 4d576687..6aac58e5 100644 --- a/lib/Service/ShareService.php +++ b/lib/Service/ShareService.php @@ -361,6 +361,7 @@ class ShareService { $share = $this->get($token); if ($share->getType() === Share::TYPE_USER) { $this->notificationService->sendInvitation($share->getPollId(), $share->getUserId()); + // TODO: skip this atm, to send invitations as mail too, if user is a site user // $sentResult = ['sentMails' => [new User($share->getuserId())]]; // $this->shareService->setInvitationSent($token); |