From 81413848b5dd7a0d78d5472be2f8603c66bc4d5b Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 22 Nov 2010 09:27:52 +0000 Subject: [PATCH] Qual: Removed dead code --- htdocs/lib/ldap.class.php | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/htdocs/lib/ldap.class.php b/htdocs/lib/ldap.class.php index d79b09efb1f..2d354fb369f 100644 --- a/htdocs/lib/ldap.class.php +++ b/htdocs/lib/ldap.class.php @@ -1342,31 +1342,6 @@ class Ldap return($retval); } - /** - * \Parse GroupType value to text - * - */ - function parseGT($grouptype) { - $gtypes = array( -2147483643 => "SECURITY_BUILTIN_LOCAL_GROUP", - -2147483644 => "SECURITY_DOMAIN_LOCAL_GROUP", - -2147483646 => "SECURITY_GLOBAL_GROUP", - 2 => "DISTRIBUTION_GLOBAL_GROUP", - 4 => "DISTRIBUTION_DOMAIN_LOCAL_GROUP", - 8 => "DISTRIBUTION_UNIVERSAL_GROUP"); - - $retval = ""; - while (list($gt, $val) = each($gtypes)) { - if ($grouptype == $gt) { - $retval = $val; - break; - } - } - if (empty($retval)) $retval = "UNKNOWN_TYPE_" . $grouptype; - - return($retval); - } - - /** * \brief Convertit le temps ActiveDirectory en Unix timestamp * \param string AD time to convert