Code

Updated error msg for ldap_import
[gosa.git] / include / functions.inc
index 5571329521d721b0832561629486907ea2a346c0..36c0ddf9e43357e690970849b89d84c1e0453e18 100644 (file)
@@ -367,8 +367,8 @@ function ldap_login_user ($username, $password)
 
 function ldap_expired_account($config, $userdn, $username)
 {
-    $this->config= $config;
-    $ldap= $this->config->get_ldap_link();
+    //$this->config= $config; 
+    $ldap= $config->get_ldap_link();
     $ldap->cat($userdn);
     $attrs= $ldap->fetch();