Skip to content

Commit 37d9c3b

Browse files
committed
fix: flush the ->remove() to remove from the database
1 parent 6698590 commit 37d9c3b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Repository/JobLogRepository.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,6 @@ public function save(JobLog $jobLog): void
188188
if ($jobLog->getStatus() === JobLog::STATUS_COMPLETE) {
189189
$this->getEntityManager()->remove($jobLog);
190190
}
191-
192-
return;
193191
}
194192

195193
$this->getEntityManager()->flush($jobLog);

0 commit comments

Comments
 (0)