From 27f159f6b87ff5f42c04efbcad8c1c1723d2e396 Mon Sep 17 00:00:00 2001 From: Franz Liedke Date: Sun, 26 Jan 2020 20:21:19 +0100 Subject: [PATCH] Remove unnecessary use statement --- src/Api/Controller/SendConfirmationEmailController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Api/Controller/SendConfirmationEmailController.php b/src/Api/Controller/SendConfirmationEmailController.php index d6d623241..ee66598f4 100644 --- a/src/Api/Controller/SendConfirmationEmailController.php +++ b/src/Api/Controller/SendConfirmationEmailController.php @@ -86,7 +86,7 @@ class SendConfirmationEmailController implements RequestHandlerInterface $body = $this->translator->trans('core.email.activate_account.body', $data); - $this->mailer->raw($body, function (Message $message) use ($actor, $data) { + $this->mailer->raw($body, function (Message $message) use ($actor) { $message->to($actor->email); $message->subject($this->translator->trans('core.email.activate_account.subject')); });