From 3126ffcf01347d50013bef4472a0d5c516c5dba8 Mon Sep 17 00:00:00 2001
From: Regis Houssin <regis@dolibarr.fr>
Date: Mon, 9 Aug 2010 23:01:01 +0000
Subject: [PATCH] Works on capability to hook a thirdparty module.

---
 htdocs/core/class/commonobject.class.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/htdocs/core/class/commonobject.class.php b/htdocs/core/class/commonobject.class.php
index 04bbf0546a4..672a4961172 100644
--- a/htdocs/core/class/commonobject.class.php
+++ b/htdocs/core/class/commonobject.class.php
@@ -1161,12 +1161,10 @@ class CommonObject
 				{
 					require_once(DOL_DOCUMENT_ROOT.'/'.$module.'/class/'.$module.'.class.php');
 				}
-				/*
 				if (file_exists(DOL_DOCUMENT_ROOT.'/'.$module.'/lib/'.$module.'.lib.php'))
 				{
 					require_once(DOL_DOCUMENT_ROOT.'/'.$module.'/lib/'.$module.'.lib.php');
 				}
-				*/
 				
 				$classname = ucfirst($module);
 				$this->objModules[] = new $classname($this->db);
@@ -1225,6 +1223,7 @@ class CommonObject
 	
 	/**
 	 * 	Return HTML table with title list
+	 * 	TODO mettre le html dans un template 
 	 */
 	function print_title_list()
 	{
@@ -1265,6 +1264,7 @@ class CommonObject
 	/**
 	 * 	Return HTML with selected object line
 	 * 	@param		line		Selected object line
+	 * 	TODO mettre le html dans un template 
 	 */
 	function printLine($line,$var=true,$num=0,$i=0,$dateSelector=0)
 	{
-- 
GitLab