There's actually no CONTRACT_MODIFY trigger
This commit is contained in:
parent
50975b61b7
commit
93c5acbf39
@ -108,7 +108,7 @@ class InterfaceDemo
|
|||||||
// Data and type of action are stored into $object and $action
|
// Data and type of action are stored into $object and $action
|
||||||
|
|
||||||
// Users
|
// Users
|
||||||
if ($action == 'USER_LOGIN')
|
if ($action == 'USER_LOGIN')
|
||||||
{
|
{
|
||||||
dol_syslog("Trigger '".$this->name."' for action '$action' launched by ".__FILE__.". id=".$object->id);
|
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);
|
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')
|
elseif ($action == 'CONTRACT_ACTIVATE')
|
||||||
{
|
{
|
||||||
dol_syslog("Trigger '".$this->name."' for action '$action' launched by ".__FILE__.". id=".$object->id);
|
dol_syslog("Trigger '".$this->name."' for action '$action' launched by ".__FILE__.". id=".$object->id);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user