Synchronisation scribe niveaux + eleves classes + profs classes (ref #34132)
This commit is contained in:
parent
75d935aa57
commit
4f2fa1db4f
|
@ -176,7 +176,7 @@ class SynchroCommand extends Command
|
||||||
$cn=$result["cn"];
|
$cn=$result["cn"];
|
||||||
$ldapfilter="(&(type=Classe)(cn=$cn))";
|
$ldapfilter="(&(type=Classe)(cn=$cn))";
|
||||||
|
|
||||||
$label="ELEVES DE LA CLASSE - ".$result["cn"];
|
$label="ELEVES - ".$result["cn"];
|
||||||
$this->writeln(" - $label");
|
$this->writeln(" - $label");
|
||||||
if(!$simulate) $this->addmodGroup($label,$ldapfilter,false);
|
if(!$simulate) $this->addmodGroup($label,$ldapfilter,false);
|
||||||
}
|
}
|
||||||
|
@ -189,7 +189,7 @@ class SynchroCommand extends Command
|
||||||
$cn=$result["cn"];
|
$cn=$result["cn"];
|
||||||
$ldapfilter="(|(&(type=Equipe)(cn=profs-$cn))(&(ENTPersonProfils=Administratif)(divcod=$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");
|
$this->writeln(" - $label");
|
||||||
if(!$simulate) $this->addmodGroup($label,$ldapfilter,false);
|
if(!$simulate) $this->addmodGroup($label,$ldapfilter,false);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue