From: cajus Date: Wed, 23 Aug 2006 07:00:32 +0000 (+0000) Subject: Avoid removing of FAIobject X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c145949125401325da301d6235b24a3d7bae6888;p=gosa.git Avoid removing of FAIobject git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4505 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_workstationStartup.inc b/plugins/admin/systems/class_workstationStartup.inc index 2b8f96f67..11324ee9e 100644 --- a/plugins/admin/systems/class_workstationStartup.inc +++ b/plugins/admin/systems/class_workstationStartup.inc @@ -1003,13 +1003,6 @@ class workstartup extends plugin /* Remove FAI objects if no FAI class is selected */ if((count($this->FAIclass)==0) && (!isset($checkFAIstate['FAIstate']))){ - $tmp = array(); - foreach($this->attrs['objectClass'] as $class){ - if($class != "FAIobject"){ - $tmp[] = $class; - } - } - $this->attrs['objectClass'] = $tmp; $this->attrs['FAIclass'] = array(); $this->attrs['FAIdebianMirror'] = array(); }