diff --git a/phpBB/phpbb/message/admin_form.php b/phpBB/phpbb/message/admin_form.php index e6e64210d8..ac03558f74 100644 --- a/phpBB/phpbb/message/admin_form.php +++ b/phpBB/phpbb/message/admin_form.php @@ -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( diff --git a/phpBB/phpbb/message/topic_form.php b/phpBB/phpbb/message/topic_form.php index 8141a66b62..8386eff89a 100644 --- a/phpBB/phpbb/message/topic_form.php +++ b/phpBB/phpbb/message/topic_form.php @@ -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);