From 070a860dec67d17b6a30d71c18da167a7e494051 Mon Sep 17 00:00:00 2001 From: cajus Date: Tue, 11 Nov 2008 08:44:02 +0000 Subject: [PATCH] Made it static git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@12995 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/fai/admin/fai/class_FAI.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.30.2