From: hickert Date: Thu, 29 Jun 2006 10:08:53 +0000 (+0000) Subject: Can't use $this when not in class context. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9a00ca1089a96a9893e2f46d8da30f425327ecdb;p=gosa.git Can't use $this when not in class context. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3981 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/functions.inc b/include/functions.inc index 557132952..36c0ddf9e 100644 --- a/include/functions.inc +++ b/include/functions.inc @@ -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();