mirror of
https://github.com/flarum/framework.git
synced 2024-11-23 20:22:58 +08:00
Remove unnecessary use statement
This commit is contained in:
parent
499f33fbb6
commit
27f159f6b8
|
@ -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'));
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user