bug Effacer feuille de style
This commit is contained in:
parent
fa3a4c0fe8
commit
73cfc61823
@ -507,7 +507,7 @@ class news extends common {
|
||||
// Mise à jour 3.4
|
||||
if (version_compare($versionData, '3.4', '<') ) {
|
||||
$this->deleteData(['module',$this->getUrl(0),'theme']);
|
||||
if (!is_dir(self::DATADIRECTORY . $this->getUrl(0) )) {
|
||||
if (is_dir(self::DATADIRECTORY . $this->getUrl(0) )) {
|
||||
$this->removeDir(self::DATADIRECTORY . $this->getUrl(0));
|
||||
}
|
||||
// Mettre à jour la version
|
||||
|
Loading…
Reference in New Issue
Block a user