From 45ac2eeb32ab601d7b95000a2e1fa69bb42878d8 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Mon, 8 Oct 2007 11:17:24 +0000 Subject: [PATCH] Appel du workflow lors de la creation de la ligne --- htdocs/telephonie/adsl/ligneadsl.class.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/htdocs/telephonie/adsl/ligneadsl.class.php b/htdocs/telephonie/adsl/ligneadsl.class.php index 1b340e470ed..c1b1938ed36 100644 --- a/htdocs/telephonie/adsl/ligneadsl.class.php +++ b/htdocs/telephonie/adsl/ligneadsl.class.php @@ -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