Appel du workflow lors de la creation de la ligne
This commit is contained in:
parent
ab29389b1c
commit
45ac2eeb32
1 changed files with 5 additions and 0 deletions
|
|
@ -107,6 +107,11 @@ class LigneAdsl {
|
|||
if ( $resql )
|
||||
{
|
||||
$this->id = $this->db->last_insert_id($resql);
|
||||
|
||||
// Appel le workflow
|
||||
$wkf = new WorkflowTelephonie($this->db);
|
||||
$wkf->notify('xdsl', -1, $this->numero);
|
||||
|
||||
return 0;
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in a new issue