// MERGE product_multistore branch : product fields are now editable per shop
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14682 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -128,9 +128,10 @@ class ProductDownloadCore extends ObjectModel
|
||||
|
||||
public function delete($delete = false)
|
||||
{
|
||||
if ($delete)
|
||||
$result = parent::delete();
|
||||
if ($result && $delete)
|
||||
return $this->deleteFile();
|
||||
return true;
|
||||
return $result;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user