From ab29389b1c3178fd2c22e74706b5c2eb802eb923 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Mon, 8 Oct 2007 11:14:23 +0000 Subject: [PATCH] Appel le workflow lors d'unnouvek evenement --- 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 7b7f0214a2d..1b340e470ed 100644 --- a/htdocs/telephonie/adsl/ligneadsl.class.php +++ b/htdocs/telephonie/adsl/ligneadsl.class.php @@ -19,6 +19,7 @@ * $Source$ * */ +require_once(DOL_DOCUMENT_ROOT.'/telephonie/workflowtel.class.php'); class LigneAdsl { var $db; @@ -280,6 +281,10 @@ class LigneAdsl { $this->db->query($sql); } + + // Appel le workflow + $wkf = new WorkflowTelephonie($this->db); + $wkf->notify('xdsl', $statut, $this->numero); return 0; }