Code

Updated class workstation.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 6 Mar 2008 09:00:25 +0000 (09:00 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 6 Mar 2008 09:00:25 +0000 (09:00 +0000)
-Tagging should only be done in class_plugin.inc

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9376 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto/admin/systems/goto/class_workstationGeneric.inc

index 139a2883d72582eedf92f9c54e3c388cf5f1c63e..30e7fc391be544311de547d09f47f5e90c8c155c 100644 (file)
@@ -441,7 +441,6 @@ class workgeneric extends plugin
         $this->gotoMode != $this->saved_attributes['gotoMode'] &&
         $this->gotoMode == "active" &&
         tests::is_ip($this->netConfigDNS->ipHostNumber));
-
     plugin::save();
 
     /* Strip out 'default' values */
@@ -488,10 +487,6 @@ class workgeneric extends plugin
       }
     }
 
-    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'){