diff options
author | dartcafe <github@dartcafe.de> | 2020-10-26 11:07:15 +0300 |
---|---|---|
committer | dartcafe <github@dartcafe.de> | 2020-10-26 11:07:15 +0300 |
commit | 83c16987ebfc4177a491f1995ca37a7106b21a2c (patch) | |
tree | b4702164f523fd34d9876e5badfe42658cd3e09e /lib/Controller/ShareController.php | |
parent | e0c1b5003ad9897c233cc91c9dd41f71e33da03a (diff) |
removed obsolete $emailAddress
Diffstat (limited to 'lib/Controller/ShareController.php')
-rw-r--r-- | lib/Controller/ShareController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Controller/ShareController.php b/lib/Controller/ShareController.php index a7c34c59..17609bbe 100644 --- a/lib/Controller/ShareController.php +++ b/lib/Controller/ShareController.php @@ -227,7 +227,7 @@ class ShareController extends Controller { } elseif ($share->getType() === Share::TYPE_CONTACTGROUP) { foreach ((new ContactGroup($share->getUserId()))->getMembers() as $contact) { try { - $newShare = $this->shareService->add($share->getPollId(), Share::TYPE_CONTACT, $contact->getId(), $contact->getEmailAddress()); + $newShare = $this->shareService->add($share->getPollId(), Share::TYPE_CONTACT, $contact->getId()); $shares[] = $newShare; } catch (ShareAlreadyExists $e) { continue; |