Skip to content

Commit

Permalink
pkp/pkp-lib#10306 removed unnecessary request param from createNotifi…
Browse files Browse the repository at this point in the history
…cation method
  • Loading branch information
touhidurabir committed Nov 15, 2024
1 parent 2e156cb commit e99ecac
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion classes/decision/types/traits/RequestPayment.php
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down
1 change: 0 additions & 1 deletion jobs/notifications/IssuePublishedNotifyUsers.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ public function handle()

$notificationManager = new NotificationManager();
$notification = $notificationManager->createNotification(
null,
$recipientId,
Notification::NOTIFICATION_TYPE_PUBLISHED_ISSUE,
$this->contextId,
Expand Down
1 change: 0 additions & 1 deletion jobs/notifications/OpenAccessMailUsers.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ public function handle()

$notificationManager = new NotificationManager();
$notification = $notificationManager->createNotification(
null,
$userId,
Notification::NOTIFICATION_TYPE_OPEN_ACCESS,
$this->contextId
Expand Down

0 comments on commit e99ecac

Please sign in to comment.