Remove code that is not needed
[MAILPOET-2439]
This commit is contained in:
committed by
Jack Kitterhing
parent
cf08200c5d
commit
0e6ee238e9
@@ -139,7 +139,6 @@ class Worker {
|
|||||||
$task->setStatus(ScheduledTask::STATUS_COMPLETED);
|
$task->setStatus(ScheduledTask::STATUS_COMPLETED);
|
||||||
$task->setProcessedAt(new Carbon);
|
$task->setProcessedAt(new Carbon);
|
||||||
$task->setScheduledAt(null);
|
$task->setScheduledAt(null);
|
||||||
$this->entity_manager->persist($task);
|
|
||||||
$this->entity_manager->flush();
|
$this->entity_manager->flush();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user