Code

Can't use $this when not in class context.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 29 Jun 2006 10:08:53 +0000 (10:08 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 29 Jun 2006 10:08:53 +0000 (10:08 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3981 594d385d-05f5-0310-b6e9-bd551577e9d8

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();