[ticket/17493] Remove unused methods and use statements

PHPBB-17493
This commit is contained in:
Marc Alexander 2025-04-21 15:24:07 +02:00
parent 3caab55e81
commit 3125f3e1d3
No known key found for this signature in database
GPG key ID: 50E0D2423696F995
3 changed files with 1 additions and 9 deletions

View file

@ -13,8 +13,6 @@
namespace phpbb\db\migration\data\v310; namespace phpbb\db\migration\data\v310;
use phpbb\messenger\method\messenger_interface;
class notification_options_reconvert extends \phpbb\db\migration\migration class notification_options_reconvert extends \phpbb\db\migration\migration
{ {
protected const NOTIFY_EMAIL = 0; protected const NOTIFY_EMAIL = 0;

View file

@ -141,11 +141,6 @@ abstract class base implements messenger_interface
$this->set_use_queue(); $this->set_use_queue();
} }
/**
* {@inheritdoc}
*/
abstract public function get_id(): int;
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */

View file

@ -19,14 +19,13 @@ use phpbb\user_loader;
use phpbb\config\config; use phpbb\config\config;
use phpbb\db\driver\driver_interface; use phpbb\db\driver\driver_interface;
use phpbb\di\service_collection; use phpbb\di\service_collection;
use phpbb\messenger\method\messenger_interface;
/** /**
* Email notification method class * Email notification method class
* This class handles sending emails for notifications * This class handles sending emails for notifications
*/ */
class email extends \phpbb\notification\method\messenger_base class email extends messenger_base
{ {
/** @var user */ /** @var user */
protected $user; protected $user;