Remove unnecessary use statement

This commit is contained in:
Franz Liedke 2020-01-26 20:21:19 +01:00
parent 499f33fbb6
commit 27f159f6b8
No known key found for this signature in database
GPG Key ID: 9A0231A879B055F4

View File

@ -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'));
});