There's actually no CONTRACT_MODIFY trigger

This commit is contained in:
Marcos García 2012-12-31 05:26:56 +01:00
parent 50975b61b7
commit 93c5acbf39

View File

@ -108,7 +108,7 @@ class InterfaceDemo
// Data and type of action are stored into $object and $action
// Users
if ($action == 'USER_LOGIN')
if ($action == 'USER_LOGIN')
{
dol_syslog("Trigger '".$this->name."' for action '$action' launched by ".__FILE__.". id=".$object->id);
}
@ -322,10 +322,6 @@ class InterfaceDemo
{
dol_syslog("Trigger '".$this->name."' for action '$action' launched by ".__FILE__.". id=".$object->id);
}
elseif ($action == 'CONTRACT_MODIFY')
{
dol_syslog("Trigger '".$this->name."' for action '$action' launched by ".__FILE__.". id=".$object->id);
}
elseif ($action == 'CONTRACT_ACTIVATE')
{
dol_syslog("Trigger '".$this->name."' for action '$action' launched by ".__FILE__.". id=".$object->id);