refactor name for updating actions

This commit is contained in:
Manuel Raynaud
2013-09-04 10:48:59 +02:00
parent b9a7030d90
commit d23190303c
20 changed files with 49 additions and 48 deletions

View File

@@ -55,7 +55,7 @@ class Config extends BaseConfig {
*/
public function preUpdate(ConnectionInterface $con = null)
{
$this->dispatchEvent(TheliaEvents::BEFORE_CHANGECONFIG, new ConfigEvent($this));
$this->dispatchEvent(TheliaEvents::BEFORE_UPDATECONFIG, new ConfigEvent($this));
return true;
}
@@ -65,7 +65,7 @@ class Config extends BaseConfig {
*/
public function postUpdate(ConnectionInterface $con = null)
{
$this->dispatchEvent(TheliaEvents::AFTER_CHANGECONFIG, new ConfigEvent($this));
$this->dispatchEvent(TheliaEvents::AFTER_UPDATECONFIG, new ConfigEvent($this));
}
/**