Fix driver parameter loading.
authorJan Schneider <jan@horde.org>
Thu, 24 Jun 2010 13:44:51 +0000 (15:44 +0200)
committerJan Schneider <jan@horde.org>
Thu, 24 Jun 2010 14:40:14 +0000 (16:40 +0200)
framework/Group/lib/Horde/Group/Ldap.php

index a1c04e9..7bc2b17 100644 (file)
@@ -35,7 +35,7 @@ class Horde_Group_Ldap extends Horde_Group
      */
     public function __construct($params)
     {
-        $this->_params = $GLOBALS['conf']['group']['params'];
+        $this->_params = Horde::getDriverConfig('group', 'ldap');
 
         $this->_params['gid'] = Horde_String::lower($this->_params['gid']);
         $this->_params['memberuid'] = Horde_String::lower($this->_params['memberuid']);