Browse Source

Synchronisation scribe niveaux + eleves classes + profs classes (ref #34132)

master
Arnaud Fornerot 11 months ago
parent
commit
a4573d977f
  1. 4
      src/ninesurvey-1.0/src/Command/SynchroUsersCommand.php

4
src/ninesurvey-1.0/src/Command/SynchroUsersCommand.php

@ -166,7 +166,7 @@ class SynchroUsersCommand extends Command
$cn=$result["cn"];
$ldapfilter="(&(type=Classe)(cn=$cn))";
$label="ELEVES DE LA CLASSE - ".$result["cn"];
$label="ELEVES - ".$result["cn"];
$this->writeln(" - $label");
if(!$simulate) $this->addmodGroup($label,$ldapfilter,false);
}
@ -179,7 +179,7 @@ class SynchroUsersCommand extends Command
$cn=$result["cn"];
$ldapfilter="(|(&(type=Equipe)(cn=profs-$cn))(&(ENTPersonProfils=Administratif)(divcod=$cn)))";
$label="PROFESSEURS DE LA CLASSE - ".$result["cn"];
$label="PROFESSEURS - ".$result["cn"];
$this->writeln(" - $label");
if(!$simulate) $this->addmodGroup($label,$ldapfilter,false);
}

Loading…
Cancel
Save