From: cajus Date: Tue, 11 Nov 2008 08:44:02 +0000 (+0000) Subject: Made it static X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=070a860dec67d17b6a30d71c18da167a7e494051;p=gosa.git Made it static git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@12995 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/fai/admin/fai/class_FAI.inc b/gosa-plugins/fai/admin/fai/class_FAI.inc index d380e1efe..ff7ef7bea 100644 --- a/gosa-plugins/fai/admin/fai/class_FAI.inc +++ b/gosa-plugins/fai/admin/fai/class_FAI.inc @@ -641,7 +641,7 @@ class FAI $ldap->cd($dn); $ui= get_userinfo(); - $this->tag_attrs($attrs, $dn, $ui->gosaUnitTag); + FAI::tag_attrs($attrs, $dn, $ui->gosaUnitTag); $ldap->cat($dn,array("dn")); if($ldap->count()){ @@ -1238,7 +1238,7 @@ class FAI } - function tag_attrs(&$at, $dn= "", $tag= "", $show= false) + static function tag_attrs(&$at, $dn= "", $tag= "", $show= false) { /* Remove tags that may already be here... */ remove_objectClass("gosaAdministrativeUnitTag", $at);