fix delete thumb image when uploading image cat
This commit is contained in:
parent
0b1f29d56f
commit
d762e3e613
@ -548,10 +548,10 @@ class Category extends CategoryCore {
|
||||
return false;
|
||||
|
||||
// @Override Antadis
|
||||
foreach (Language::getLanguages(FALSE) as $language) {
|
||||
$this->deleteImageThumb($language['id_lang']);
|
||||
$this->deleteImageMobile($language['id_lang']);
|
||||
}
|
||||
// foreach (Language::getLanguages(FALSE) as $language) {
|
||||
// $this->deleteImageThumb($language['id_lang']);
|
||||
// $this->deleteImageMobile($language['id_lang']);
|
||||
// }
|
||||
// @End Override
|
||||
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user