// Rename correctly all hooks
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12006 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -164,7 +164,7 @@ class FeatureValueCore extends ObjectModel
|
||||
{
|
||||
$return = parent::add($autodate, $nullValues);
|
||||
if ($return)
|
||||
Hook::exec('afterSaveFeatureValue', array('id_feature_value' => $this->id));
|
||||
Hook::exec('actionFeatureValueSave', array('id_feature_value' => $this->id));
|
||||
return $return;
|
||||
}
|
||||
|
||||
@@ -178,7 +178,7 @@ class FeatureValueCore extends ObjectModel
|
||||
$return = parent::delete();
|
||||
|
||||
if ($return)
|
||||
Hook::exec('afterDeleteFeatureValue', array('id_feature_value' => $this->id));
|
||||
Hook::exec('actionFeatureValueDelete', array('id_feature_value' => $this->id));
|
||||
return $return;
|
||||
}
|
||||
|
||||
@@ -186,7 +186,7 @@ class FeatureValueCore extends ObjectModel
|
||||
{
|
||||
$return = parent::update($nullValues);
|
||||
if ($return)
|
||||
Hook::exec('afterSaveFeatureValue', array('id_feature_value' => $this->id));
|
||||
Hook::exec('actionFeatureValueSave', array('id_feature_value' => $this->id));
|
||||
return $return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user