Rename method in repository

[MAILPOET-4685]
This commit is contained in:
Jan Lysý
2022-09-29 14:58:05 +02:00
committed by Rodrigo Primo
parent 58d32a68fb
commit 4deb137063
5 changed files with 4 additions and 20 deletions

View File

@@ -110,7 +110,7 @@ class PostNotificationScheduler {
}
public function createPostNotificationSendingTask(NewsletterEntity $newsletter): ?ScheduledTaskEntity {
$notificationHistory = $this->newslettersRepository->findSendigNotificationHistoryWithPausedTask($newsletter);
$notificationHistory = $this->newslettersRepository->findSendingNotificationHistoryWithoutPausedTask($newsletter);
if (count($notificationHistory) > 0) {
return null;
}