From c837ccda1a50487168f4c6cb5e51ab56470b5c14 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Mon, 11 Jul 2005 10:19:40 +0000 Subject: [PATCH] =?UTF-8?q?Ajout:=20possibilt=E9=20de=20d=E9sactiver=20la?= =?UTF-8?q?=20synchro=20des=20contacts=20sur=20LDAP?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/contact.class.php | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/htdocs/contact.class.php b/htdocs/contact.class.php index 6242dc9c032..f4ef1dadd5c 100644 --- a/htdocs/contact.class.php +++ b/htdocs/contact.class.php @@ -145,10 +145,11 @@ class Contact if (defined('MAIN_MODULE_LDAP') && MAIN_MODULE_LDAP) { - if ((defined('LDAP_CONTACT_ACTIVE') && (LDAP_CONTACT_ACTIVE == 1)) - { + if (defined('LDAP_CONTACT_ACTIVE') && LDAP_CONTACT_ACTIVE == 1) + $this->update_ldap($user); - } + + } return $result; } @@ -498,10 +499,10 @@ class Contact if (defined('MAIN_MODULE_LDAP') && MAIN_MODULE_LDAP) { - if ((defined('LDAP_CONTACT_ACTIVE') && (LDAP_CONTACT_ACTIVE == 1)) - { + if (defined('LDAP_CONTACT_ACTIVE') && LDAP_CONTACT_ACTIVE == 1) + $this->update_ldap($user); - } + } return $result; }