effacer dossier complet ave cle fichier

This commit is contained in:
Fred Tempez 2021-07-22 23:14:33 +02:00
parent 76c8669f09
commit 5bee7f1c5b

View File

@ -507,7 +507,6 @@ class news extends common {
// Mise à jour 3.4 // Mise à jour 3.4
if (version_compare($versionData, '3.4', '<') ) { if (version_compare($versionData, '3.4', '<') ) {
$this->deleteData(['module',$this->getUrl(0),'theme']); $this->deleteData(['module',$this->getUrl(0),'theme']);
unlink(self::DATADIRECTORY . $this->getUrl(0) . '/theme.css');
if (!is_dir(self::DATADIRECTORY . $this->getUrl(0) )) { if (!is_dir(self::DATADIRECTORY . $this->getUrl(0) )) {
$this->removeDir(self::DATADIRECTORY . $this->getUrl(0)); $this->removeDir(self::DATADIRECTORY . $this->getUrl(0));
} }