mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 23:13:15 +00:00
PHRAS-3665 fix not send reminder on update (#4090)
* fix not send reminder on update * by default not send reminder
This commit is contained in:
@@ -59,7 +59,7 @@ class PhraseanetExtension extends \Twig_Extension
|
||||
{
|
||||
return [
|
||||
// change this version when you change JS file to force the navigation to reload js file
|
||||
'assetFileVersion' => 69
|
||||
'assetFileVersion' => 70
|
||||
];
|
||||
|
||||
}
|
||||
|
@@ -142,6 +142,12 @@ class ShareBasketWorker implements WorkerInterface
|
||||
$basketParticipant->setCanAgree($participant['agree']);
|
||||
$basketParticipant->setCanModify($participant['modify']);
|
||||
$basketParticipant->setCanSeeOthers($participant['see_others']);
|
||||
|
||||
if ($notSendReminder) {
|
||||
// column reminded to be not null
|
||||
$basketParticipant->setReminded(new DateTime());
|
||||
}
|
||||
|
||||
$manager->persist($basketParticipant);
|
||||
$manager->flush();
|
||||
|
||||
|
Reference in New Issue
Block a user