Use a better name for method

[MAILPOET-2439]
This commit is contained in:
Pavel Dohnal
2019-10-29 15:55:57 +01:00
committed by Jack Kitterhing
parent 45eb3d39c2
commit f1934ff880
3 changed files with 5 additions and 5 deletions

View File

@@ -92,7 +92,7 @@ class Scheduler {
}
private function isTaskScheduled($newsletter_id) {
$existing = $this->repository->findAllForNewsletter($newsletter_id);
$existing = $this->repository->findByNewsletterId($newsletter_id);
return count($existing) > 0;
}