From fbd85d5ddaacc677278f27b58af94a86c5fa1c7b Mon Sep 17 00:00:00 2001 From: vgreb Date: Wed, 24 Jun 2026 23:58:54 +0200 Subject: [PATCH] =?UTF-8?q?Suppression=20de=20constantes=20PHP=20inutilis?= =?UTF-8?q?=C3=A9es?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sources/Afup/Droits.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/sources/Afup/Droits.php b/sources/Afup/Droits.php index cafd5eed3..e59609fbd 100644 --- a/sources/Afup/Droits.php +++ b/sources/Afup/Droits.php @@ -9,14 +9,6 @@ use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface; use Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface; -define('AFUP_DROITS_NIVEAU_MEMBRE', 0); -define('AFUP_DROITS_NIVEAU_REDACTEUR', 1); -define('AFUP_DROITS_NIVEAU_ADMINISTRATEUR', 2); - -define('AFUP_DROITS_ETAT_NON_FINALISE', -1); -define('AFUP_DROITS_ETAT_INACTIF', 0); -define('AFUP_DROITS_ETAT_ACTIF', 1); - /** * Classe de gestion des droits */