From 47972dce05b21e988086410977553b08c7fb01ae Mon Sep 17 00:00:00 2001 From: maxpozdeev Date: Fri, 24 Mar 2023 19:07:58 +0300 Subject: [PATCH] - fix deprecation notices in php 8.2 --- src/ext/notifications/class.observer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ext/notifications/class.observer.php b/src/ext/notifications/class.observer.php index 96566df..b1b7f0c 100644 --- a/src/ext/notifications/class.observer.php +++ b/src/ext/notifications/class.observer.php @@ -59,7 +59,7 @@ class NotificationObserver implements \MTTNotificationObserverInterface private function init() { $this->prefs = NotificationsExtension::preferences(); - $this->token = $this->prefs['token'] ?? ''; + //$this->token = $this->prefs['token'] ?? ''; } }