From: hickert Date: Thu, 6 Mar 2008 09:01:30 +0000 (+0000) Subject: Updated printer/terminal class X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e388f91eb70436781d1e3dcaae8f3255625e4d1c;p=gosa.git Updated printer/terminal class -Tagging only in class_plugin git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9377 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/goto/admin/systems/goto/class_printGeneric.inc b/gosa-plugins/goto/admin/systems/goto/class_printGeneric.inc index 8ded9f85e..756b90c9a 100644 --- a/gosa-plugins/goto/admin/systems/goto/class_printGeneric.inc +++ b/gosa-plugins/goto/admin/systems/goto/class_printGeneric.inc @@ -814,10 +814,6 @@ class printgeneric extends plugin unset($this->attrs[$checkVar]); } } - }else{ - if(($this->gosaUnitTag) && (!in_array_ics("gosaAdministrativeUnitTag",$this->attrs['objectClass']))){ - $this->attrs['objectClass'][] = "gosaAdministrativeUnitTag"; - } } /* Ensure to create a new object */ diff --git a/gosa-plugins/goto/admin/systems/goto/class_terminalGeneric.inc b/gosa-plugins/goto/admin/systems/goto/class_terminalGeneric.inc index 3b4f67d73..d71ad9196 100644 --- a/gosa-plugins/goto/admin/systems/goto/class_terminalGeneric.inc +++ b/gosa-plugins/goto/admin/systems/goto/class_terminalGeneric.inc @@ -483,11 +483,6 @@ class termgeneric extends plugin } } - /* Append gosaAdministrativeUnitTag to objectClass if gosaUnitTag isset */ - if(($this->gosaUnitTag) && (!in_array_ics("gosaAdministrativeUnitTag",$this->attrs['objectClass']))){ - $this->attrs['objectClass'][] = "gosaAdministrativeUnitTag"; - } - /* Write back to ldap */ $ldap= $this->config->get_ldap_link(); if ($this->orig_dn == 'new'){