From 527e7aa29b035e89800dfbdb758e72cf8e6ea0df Mon Sep 17 00:00:00 2001 From: Mustapha Hadid Date: Tue, 17 Sep 2024 18:00:26 +0530 Subject: [PATCH] Fix deprecation warning in authorized email controller --- mailpoet/lib/Services/AuthorizedEmailsController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mailpoet/lib/Services/AuthorizedEmailsController.php b/mailpoet/lib/Services/AuthorizedEmailsController.php index 8fa4549221..29cb393a1a 100644 --- a/mailpoet/lib/Services/AuthorizedEmailsController.php +++ b/mailpoet/lib/Services/AuthorizedEmailsController.php @@ -109,7 +109,7 @@ class AuthorizedEmailsController { } public function checkAuthorizedEmailAddresses() { - if (!Bridge::isMPSendingServiceEnabled()) { + if (!$this->bridge->isMailpoetSendingServiceEnabled()) { $this->settings->set(self::AUTHORIZED_EMAIL_ADDRESSES_ERROR_SETTING, null); $this->updateMailerLog(); return null;