effacer dossier complet ave cle fichier
This commit is contained in:
parent
76c8669f09
commit
5bee7f1c5b
@ -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));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user