// Remove $this->table and $this->identifier from objectModels + normalize
This commit is contained in:
@@ -119,7 +119,7 @@ class ProductDownloadCore extends ObjectModel
|
||||
if (parent::update($nullValues))
|
||||
{
|
||||
// Refresh cache of feature detachable because the row can be deactive
|
||||
Configuration::updateGlobalValue('PS_VIRTUAL_PROD_FEATURE_ACTIVE', self::isCurrentlyUsed($this->table, true));
|
||||
Configuration::updateGlobalValue('PS_VIRTUAL_PROD_FEATURE_ACTIVE', self::isCurrentlyUsed($this->def['table'], true));
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user