[ticket/17493] Remove unused notify type in add_recipient

PHPBB-17493
This commit is contained in:
Marc Alexander 2025-04-18 17:20:25 +02:00
parent da32d51a81
commit d985c8be60
No known key found for this signature in database
GPG key ID: 50E0D2423696F995
2 changed files with 2 additions and 4 deletions

View file

@ -165,8 +165,7 @@ class admin_form extends form
$this->message->add_recipient(
$this->user->lang['ADMINISTRATOR'],
$this->config['board_contact'],
$this->config['default_lang'],
messenger_interface::NOTIFY_EMAIL
$this->config['default_lang']
);
$this->message->set_template_vars(array(

View file

@ -131,8 +131,7 @@ class topic_form extends form
$this->message->add_recipient(
$this->recipient_name,
$this->recipient_address,
$this->recipient_lang,
messenger_interface::NOTIFY_EMAIL
$this->recipient_lang
);
parent::submit($messenger);