// 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:
rMalie
2012-01-02 15:52:40 +00:00
parent 6f39d725b2
commit 07207496d7
36 changed files with 112 additions and 104 deletions
+3 -3
View File
@@ -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;
}
}