From 9944a192e29303ef2dd0b1e351062cf9759e7ebb Mon Sep 17 00:00:00 2001 From: F TEMPEZ Date: Thu, 14 Dec 2023 10:33:17 +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 6ca643c3..28eb9253 100644 --- a/core/module/user/user.php +++ b/core/module/user/user.php @@ -900,12 +900,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);