ne pas envoyer de synchro sur update de usergroup

This commit is contained in:
afornerot 2020-02-13 09:44:34 +01:00
parent d26c4c26f0
commit 68b68e92b3
1 changed files with 2 additions and 1 deletions

View File

@ -39,7 +39,8 @@ class syncUserGroup implements EventSubscriber
if(!($entity instanceof UserGroup)) return; if(!($entity instanceof UserGroup)) return;
$this->shouldSync = true; // Aucune raison de mettre à jour LDAP et Only sur une modification
$this->shouldSync = false;
} }
public function postUpdate(LifecycleEventArgs $args) public function postUpdate(LifecycleEventArgs $args)