diff --git a/htdocs/project.class.php b/htdocs/project.class.php
index a86c9e04a6b04145e7beed406005e34914cc8049..2bc070d401dd3bca1b87896710b37ba8f2626126 100644
--- a/htdocs/project.class.php
+++ b/htdocs/project.class.php
@@ -50,7 +50,7 @@ class Project extends CommonObject
 
 	/**
 	 *    \brief  Constructeur de la classe
-	 *    \param  DB          handler acc�s base de donn�es
+	 *    \param  DB          handler acces base de donnees
 	 */
 	function Project($DB)
 	{
@@ -304,6 +304,7 @@ class Project extends CommonObject
 	 *  \param     	parent   	Id task parent
 	 *	\param		id_resp		Id of responsible user
 	 * 	\return		int			Task id if succes, <0 if KO
+	 *  @obsolete   now use task.class.php
 	 */
 	function CreateTask($user, $title, $parent=0, $id_resp=0)
 	{
diff --git a/htdocs/task.class.php b/htdocs/task.class.php
index 7d74b7d640ef5ceddd67c78456518d7173013981..99c711e7372eeeea64b4e244abfda382a0570ab3 100644
--- a/htdocs/task.class.php
+++ b/htdocs/task.class.php
@@ -19,16 +19,11 @@
 /**
  *      \file       task.class.php
  *      \ingroup    project
- *      \brief      This file is a CRUD class file for Taks (Create/Read/Update/Delete)
+ *      \brief      This file is a CRUD class file for Task (Create/Read/Update/Delete)
  *		\version    $Id$
  *		\remarks	Initialy built by build_class_from_table on 2008-09-10 12:41
  */
 
-// Put here all includes required by your class file
-//require_once(DOL_DOCUMENT_ROOT."/commonobject.class.php");
-//require_once(DOL_DOCUMENT_ROOT."/societe.class.php");
-//require_once(DOL_DOCUMENT_ROOT."/product.class.php");
-
 
 /**
  *      \class      Projet_task
@@ -130,15 +125,12 @@ class Task extends CommonObject
 
 			if (! $notrigger)
 			{
-	            // Uncomment this and change MYOBJECT to your own tag if you
-	            // want this action call a trigger.
-
-	            //// Call triggers
-	            //include_once(DOL_DOCUMENT_ROOT . "/interfaces.class.php");
-	            //$interface=new Interfaces($this->db);
-	            //$result=$interface->run_triggers('MYOBJECT_CREATE',$this,$user,$langs,$conf);
-	            //if ($result < 0) { $error++; $this->errors=$interface->errors; }
-	            //// End call triggers
+	            // Call triggers
+	            include_once(DOL_DOCUMENT_ROOT . "/interfaces.class.php");
+	            $interface=new Interfaces($this->db);
+	            $result=$interface->run_triggers('TASK_CREATE',$this,$user,$langs,$conf);
+	            if ($result < 0) { $error++; $this->errors=$interface->errors; }
+	            // End call triggers
 			}
         }
 
@@ -268,15 +260,12 @@ class Task extends CommonObject
 		{
 			if (! $notrigger)
 			{
-	            // Uncomment this and change MYOBJECT to your own tag if you
-	            // want this action call a trigger.
-
-	            //// Call triggers
-	            //include_once(DOL_DOCUMENT_ROOT . "/interfaces.class.php");
-	            //$interface=new Interfaces($this->db);
-	            //$result=$interface->run_triggers('MYOBJECT_MODIFY',$this,$user,$langs,$conf);
-	            //if ($result < 0) { $error++; $this->errors=$interface->errors; }
-	            //// End call triggers
+	            // Call triggers
+	            include_once(DOL_DOCUMENT_ROOT . "/interfaces.class.php");
+	            $interface=new Interfaces($this->db);
+	            $result=$interface->run_triggers('TASK_MODIFY',$this,$user,$langs,$conf);
+	            if ($result < 0) { $error++; $this->errors=$interface->errors; }
+	            // End call triggers
 	    	}
 		}
 
@@ -331,15 +320,12 @@ class Task extends CommonObject
 		{
 			if (! $notrigger)
 			{
-				// Uncomment this and change MYOBJECT to your own tag if you
-		        // want this action call a trigger.
-
-		        //// Call triggers
-		        //include_once(DOL_DOCUMENT_ROOT . "/interfaces.class.php");
-		        //$interface=new Interfaces($this->db);
-		        //$result=$interface->run_triggers('MYOBJECT_DELETE',$this,$user,$langs,$conf);
-		        //if ($result < 0) { $error++; $this->errors=$interface->errors; }
-		        //// End call triggers
+		        // Call triggers
+		        include_once(DOL_DOCUMENT_ROOT . "/interfaces.class.php");
+		        $interface=new Interfaces($this->db);
+		        $result=$interface->run_triggers('TASK_DELETE',$this,$user,$langs,$conf);
+		        if ($result < 0) { $error++; $this->errors=$interface->errors; }
+		        // End call triggers
 			}
 		}