Skip to content

Commit 8c3dd7b

Browse files
committed
Inherit from the base class instead of messenger_base
1 parent a6b22fb commit 8c3dd7b

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

notification/method/webpush.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
use phpbb\controller\helper;
1616
use phpbb\db\driver\driver_interface;
1717
use phpbb\log\log_interface;
18-
use phpbb\notification\method\messenger_base;
1918
use phpbb\notification\type\type_interface;
2019
use phpbb\path_helper;
2120
use phpbb\user;
@@ -27,7 +26,7 @@
2726
* Web Push notification method class
2827
* This class handles sending push messages for notifications
2928
*/
30-
class webpush extends messenger_base implements extended_method_interface
29+
class webpush extends \phpbb\notification\method\base implements extended_method_interface
3130
{
3231
/** @var config */
3332
protected $config;
@@ -78,8 +77,11 @@ public function __construct(config $config, driver_interface $db, log_interface
7877
$this->config = $config;
7978
$this->db = $db;
8079
$this->log = $log;
80+
$this->user_loader = $user_loader;
8181
$this->user = $user;
8282
$this->path_helper = $path_helper;
83+
$this->phpbb_root_path = $phpbb_root_path;
84+
$this->php_ext = $php_ext;
8385
$this->notification_webpush_table = $notification_webpush_table;
8486
$this->push_subscriptions_table = $push_subscriptions_table;
8587
}

0 commit comments

Comments
 (0)