From 9a5036940a5b01422eddb32721ac8fb2896a1d33 Mon Sep 17 00:00:00 2001 From: Touhidur Rahman Date: Sun, 15 Sep 2024 15:07:51 +0600 Subject: [PATCH] pkp/pkp-lib#10306 removed unnecessary request param from createNotification method --- classes/decision/types/traits/RequestPayment.php | 1 - jobs/notifications/IssuePublishedNotifyUsers.php | 1 - jobs/notifications/OpenAccessMailUsers.php | 1 - 3 files changed, 3 deletions(-) diff --git a/classes/decision/types/traits/RequestPayment.php b/classes/decision/types/traits/RequestPayment.php index 5f2ca458faf..56390451c64 100644 --- a/classes/decision/types/traits/RequestPayment.php +++ b/classes/decision/types/traits/RequestPayment.php @@ -78,7 +78,6 @@ protected function requestPayment(Submission $submission, User $editor, Context $authorIds = $this->getAssignedAuthorIds($submission); foreach ($authorIds as $authorId) { $notificationMgr->createNotification( - Application::get()->getRequest(), $authorId, Notification::NOTIFICATION_TYPE_PAYMENT_REQUIRED, $context->getId(), diff --git a/jobs/notifications/IssuePublishedNotifyUsers.php b/jobs/notifications/IssuePublishedNotifyUsers.php index fb17bb9020f..ce83d857740 100644 --- a/jobs/notifications/IssuePublishedNotifyUsers.php +++ b/jobs/notifications/IssuePublishedNotifyUsers.php @@ -74,7 +74,6 @@ public function handle() $notificationManager = new NotificationManager(); $notification = $notificationManager->createNotification( - null, $recipientId, Notification::NOTIFICATION_TYPE_PUBLISHED_ISSUE, $this->contextId, diff --git a/jobs/notifications/OpenAccessMailUsers.php b/jobs/notifications/OpenAccessMailUsers.php index 6b952c39ff4..8c3071729c0 100644 --- a/jobs/notifications/OpenAccessMailUsers.php +++ b/jobs/notifications/OpenAccessMailUsers.php @@ -65,7 +65,6 @@ public function handle() $notificationManager = new NotificationManager(); $notification = $notificationManager->createNotification( - null, $userId, Notification::NOTIFICATION_TYPE_OPEN_ACCESS, $this->contextId