Code

backported fixes of fabian from function.inc
authoropensides <opensides@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 29 Jun 2006 10:19:11 +0000 (10:19 +0000)
committeropensides <opensides@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 29 Jun 2006 10:19:11 +0000 (10:19 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@3983 594d385d-05f5-0310-b6e9-bd551577e9d8

include/functions.inc

index 5571329521d721b0832561629486907ea2a346c0..1c9863298974ec8a1f90a9fdf9b38a452758f7b7 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();