[-] BO : fixed bug #PSCFV-3439 part2
This commit is contained in:
1 parent
f28205ae2d
commit
36dd2c5180
3 files changed
+48
-4
No files matched your search
@@ -1220,12 +1220,12 @@ abstract class ObjectModelCore
|
||||
*
|
||||
* @return bool success
|
||||
*/
|
||||
public function deleteImage()
|
||||
public function deleteImage($force_delete = false)
|
||||
{
|
||||
if (!$this->id)
|
||||
return false;
|
||||
|
||||
if (!$this->hasMultishopEntries())
|
||||
if ($force_delete || !$this->hasMultishopEntries())
|
||||
{
|
||||
/* Deleting object images and thumbnails (cache) */
|
||||
if ($this->image_dir)
|
||||
|
||||
Reference in new issue
Block a user