diff --git a/phpBB/phpbb/db/migration/data/v310/notification_options_reconvert.php b/phpBB/phpbb/db/migration/data/v310/notification_options_reconvert.php index f2879f4d71..c0b02bc496 100644 --- a/phpBB/phpbb/db/migration/data/v310/notification_options_reconvert.php +++ b/phpBB/phpbb/db/migration/data/v310/notification_options_reconvert.php @@ -13,8 +13,6 @@ namespace phpbb\db\migration\data\v310; -use phpbb\messenger\method\messenger_interface; - class notification_options_reconvert extends \phpbb\db\migration\migration { protected const NOTIFY_EMAIL = 0; diff --git a/phpBB/phpbb/messenger/method/base.php b/phpBB/phpbb/messenger/method/base.php index f3db4155ca..17213c6b3d 100644 --- a/phpBB/phpbb/messenger/method/base.php +++ b/phpBB/phpbb/messenger/method/base.php @@ -141,11 +141,6 @@ abstract class base implements messenger_interface $this->set_use_queue(); } - /** - * {@inheritdoc} - */ - abstract public function get_id(): int; - /** * {@inheritdoc} */ diff --git a/phpBB/phpbb/notification/method/email.php b/phpBB/phpbb/notification/method/email.php index 8ef86f4599..07ce0b4f06 100644 --- a/phpBB/phpbb/notification/method/email.php +++ b/phpBB/phpbb/notification/method/email.php @@ -19,14 +19,13 @@ use phpbb\user_loader; use phpbb\config\config; use phpbb\db\driver\driver_interface; use phpbb\di\service_collection; -use phpbb\messenger\method\messenger_interface; /** * Email notification method class * This class handles sending emails for notifications */ -class email extends \phpbb\notification\method\messenger_base +class email extends messenger_base { /** @var user */ protected $user;