From 8ad50b10dd2e5bd875c4484c6acebf3b47fbb9ad Mon Sep 17 00:00:00 2001 From: F TEMPEZ Date: Thu, 14 Dec 2023 10:31:33 +0100 Subject: [PATCH] Fix doublon --- core/module/user/user.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/core/module/user/user.php b/core/module/user/user.php index 4d9681d0..6ca643c3 100644 --- a/core/module/user/user.php +++ b/core/module/user/user.php @@ -743,12 +743,6 @@ class user extends common self::$sharePath = array_merge(['./site/file/source/' => 'Tous les dossiers'], self::$sharePath); self::$sharePath = array_merge([null => 'Aucun dossier'], self::$sharePath); - // Chemin vers les dossiers du gestionnaire de fichier - self::$sharePath = $this->getSubdirectories('./site/file/source'); - self::$sharePath = array_flip(self::$sharePath); - self::$sharePath = array_merge(['./site/file/source/' => 'Tous les dossiers'], self::$sharePath); - self::$sharePath = array_merge([null => 'Aucun dossier'], self::$sharePath); - // Liste des modules installés self::$listModules = helper::getModules(); self::$listModules = array_keys(self::$listModules);