Commit 3a35081a authored by Antony Le Courtes's avatar Antony Le Courtes
Browse files

Cleanning code

parent c6740833
Loading
Loading
Loading
Loading
−2
Changes for module/Intervenant/src/Service/NoteService.php: 0 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -70,7 +70,6 @@ class NoteService extends AbstractEntityService
        $sql = 'SELECT * FROM v_intervenant_historique where intervenant_id =  ' . $intervenant->getId() . ' ORDER BY ordre ASC, histo_date ASC';
        $stmt = $this->getEntityManager()->getConnection()->executeQuery($sql);
        while ($r = $stmt->fetch()) {
            //if (array_key_exists($r['CATEGORIE'], $historique)) {
            $historique[$r['CATEGORIE']][] = [
                'id'             => $r['ID'],
                'intervenant_id' => $r['INTERVENANT_ID'],
@@ -80,7 +79,6 @@ class NoteService extends AbstractEntityService
                'ordre'          => $r['ORDRE'],

            ];
            //}


        }