From 21dcaa4c1d6a9d05359044c50f3f47dc069af806 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 --- .../core/src/Api/Controller/SendConfirmationEmailController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/core/src/Api/Controller/SendConfirmationEmailController.php b/framework/core/src/Api/Controller/SendConfirmationEmailController.php index d6d623241..ee66598f4 100644 --- a/framework/core/src/Api/Controller/SendConfirmationEmailController.php +++ b/framework/core/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')); });