From d985c8be60031435fb804157ff6a720d688e59b5 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Fri, 18 Apr 2025 17:20:25 +0200 Subject: [PATCH] [ticket/17493] Remove unused notify type in add_recipient PHPBB-17493 --- phpBB/phpbb/message/admin_form.php | 3 +-- phpBB/phpbb/message/topic_form.php | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) 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);