Effacer un fichier help.html inutile

This commit is contained in:
Fred Tempez 2022-09-19 09:37:06 +02:00
parent 59b153d480
commit 62a1a9c3e4
1 changed files with 5 additions and 0 deletions

View File

@ -872,6 +872,11 @@ if ($this->getData(['core', 'dataVersion']) < 11600) {
$this->deleteData(['config', 'i18n', 'autoDetect']);
helper::deleteCookie('ZWII_I18N_SCRIPT');
// Nettoyage de fichiers inutiles
if (file_exists('core\module\user\view\import\import.help.html')) {
unlink('core\module\user\view\import\import.help.html');
}
// Supprimer les fichier associés
if (is_dir('core/module/translate/ressource')) {
$this->removeDir('core/module/translate/ressource');