Appel le workflow lors d'unnouvek evenement

This commit is contained in:
Rodolphe Quiedeville 2007-10-08 11:14:23 +00:00
parent 71eeb80897
commit ab29389b1c

View File

@ -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;
}