Parameters are loaded in the factory.
authorJan Schneider <jan@horde.org>
Mon, 13 Sep 2010 13:27:39 +0000 (15:27 +0200)
committerJan Schneider <jan@horde.org>
Mon, 13 Sep 2010 13:35:11 +0000 (15:35 +0200)
framework/Group/lib/Horde/Group/Ldap.php

index 03287be..0d6bdd5 100644 (file)
@@ -35,8 +35,7 @@ class Horde_Group_Ldap extends Horde_Group
      */
     public function __construct($params)
     {
-        $this->_params = Horde::getDriverConfig('group', 'ldap');
-
+        $this->_params = $params;
         $this->_params['gid'] = Horde_String::lower($this->_params['gid']);
         $this->_params['memberuid'] = Horde_String::lower($this->_params['memberuid']);
         foreach ($this->_params['newgroup_objectclass'] as $key => $val) {