mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/17445] Inherit from base rather than from of message_base
PHPBB-17445
This commit is contained in:
parent
637eaf03fb
commit
c2c9e4e6b0
1 changed files with 4 additions and 3 deletions
|
@ -28,7 +28,7 @@ use phpbb\user_loader;
|
|||
* This class handles sending push messages for notifications
|
||||
*/
|
||||
|
||||
class webpush extends messenger_base implements extended_method_interface
|
||||
class webpush extends base implements extended_method_interface
|
||||
{
|
||||
/** @var config */
|
||||
protected $config;
|
||||
|
@ -70,12 +70,13 @@ class webpush extends messenger_base implements extended_method_interface
|
|||
public function __construct(config $config, driver_interface $db, log_interface $log, user_loader $user_loader, user $user, string $phpbb_root_path,
|
||||
string $php_ext, string $notification_webpush_table, string $push_subscriptions_table)
|
||||
{
|
||||
parent::__construct($user_loader, $phpbb_root_path, $php_ext);
|
||||
|
||||
$this->config = $config;
|
||||
$this->db = $db;
|
||||
$this->log = $log;
|
||||
$this->user_loader = $user_loader;
|
||||
$this->user = $user;
|
||||
$this->phpbb_root_path = $phpbb_root_path;
|
||||
$this->php_ext = $php_ext;
|
||||
$this->notification_webpush_table = $notification_webpush_table;
|
||||
$this->push_subscriptions_table = $push_subscriptions_table;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue