Commit c9db2b11 authored by Jean-Philippe Metivier's avatar Jean-Philippe Metivier
Browse files

retrait des variables inutilisées de l'ActeurFormatter

parent ca64b68b
Loading
Loading
Loading
Loading
+0 −4
Changes for module/Application/src/Application/Filter/ActeursFormatter.php: 0 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -231,10 +231,6 @@ class ActeursFormatter extends AbstractFilter {
        /** @var Acteur $acteur */
        foreach($acteurs as $acteur) {

            $acteurRole = $acteur->getRole()->getCode();
            $acteurNom  = $acteur->getIndividu()->getNomComplet();


            $keep = true;
            if ($keep && $this->contrainteRole != null && $acteur->getRole()->getCode() != $this->contrainteRole) $keep = false;
            if ($keep && $this->contrainteRoleLibelle != null && $acteur->getRole()->getLibelle() != $this->contrainteRoleLibelle) $keep = false;