From 3bebc5c43afd8d2c702dba2b424f537ddc2e054a Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Tue, 5 Jan 2010 18:28:43 +0000 Subject: [PATCH] Fix: current entity by default --- htdocs/includes/modules/modLdap.class.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/htdocs/includes/modules/modLdap.class.php b/htdocs/includes/modules/modLdap.class.php index 13fa955a3d5..5de5704df64 100644 --- a/htdocs/includes/modules/modLdap.class.php +++ b/htdocs/includes/modules/modLdap.class.php @@ -43,9 +43,7 @@ class modLdap extends DolibarrModules * \param DB handler d'acces base */ function modLdap($DB) - { - global $conf; - + { $this->db = $DB ; $this->numero = 200 ;