Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/polls.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordartcafe <github@dartcafe.de>2020-10-26 11:07:15 +0300
committerdartcafe <github@dartcafe.de>2020-10-26 11:07:15 +0300
commit83c16987ebfc4177a491f1995ca37a7106b21a2c (patch)
treeb4702164f523fd34d9876e5badfe42658cd3e09e /lib/Controller/ShareController.php
parente0c1b5003ad9897c233cc91c9dd41f71e33da03a (diff)
removed obsolete $emailAddress
Diffstat (limited to 'lib/Controller/ShareController.php')
-rw-r--r--lib/Controller/ShareController.php2
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;