mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 16:56:44 +02:00
[ticket/17135] Refactor messenger code to services
PHPBB3-17135
This commit is contained in:
@@ -459,7 +459,7 @@ class ucp_register
|
||||
if ($config['email_enable'])
|
||||
{
|
||||
$messenger = $phpbb_container->get('messenger.method_collection');
|
||||
$email = $this->messenger->offsetGet('messenger.method.email');
|
||||
$email = $messenger->offsetGet('messenger.method.email');
|
||||
$email->set_use_queue(false);
|
||||
$email->template($email_template, $data['lang']);
|
||||
$email->to($data['email'], $data['username']);
|
||||
|
Reference in New Issue
Block a user