Skip to content

Commit

Permalink
Inherit from the base class instead of messenger_base
Browse files Browse the repository at this point in the history
  • Loading branch information
rxu committed Nov 28, 2024
1 parent a6b22fb commit 8c3dd7b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions notification/method/webpush.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
use phpbb\controller\helper;
use phpbb\db\driver\driver_interface;
use phpbb\log\log_interface;
use phpbb\notification\method\messenger_base;
use phpbb\notification\type\type_interface;
use phpbb\path_helper;
use phpbb\user;
Expand All @@ -27,7 +26,7 @@
* Web Push notification method class
* This class handles sending push messages for notifications
*/
class webpush extends messenger_base implements extended_method_interface
class webpush extends \phpbb\notification\method\base implements extended_method_interface
{
/** @var config */
protected $config;
Expand Down Expand Up @@ -78,8 +77,11 @@ public function __construct(config $config, driver_interface $db, log_interface
$this->config = $config;
$this->db = $db;
$this->log = $log;
$this->user_loader = $user_loader;
$this->user = $user;
$this->path_helper = $path_helper;
$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;
}
Expand Down

0 comments on commit 8c3dd7b

Please sign in to comment.