Commit ed706459 by Frédéric

Cron fix

parent 990c0286
......@@ -175,8 +175,8 @@ class TourinsoftExtension extends SimpleExtension
/** @var Flux $item */
foreach ($flux as $item) {
// $item->setSynchronizedAt(new \DateTime());
// $this->getContainer()['storage']->getRepository(Flux::class)->update($flux);
$item->setSynchronizedAt(new \DateTime());
$this->getContainer()['storage']->getRepository(Flux::class)->update($item);
$sync = new Synchronisation($this->getConfig(), $this->getContainer(), $item);
$sync->sync();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment