Code

Avoid removing of FAIobject
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 23 Aug 2006 07:00:32 +0000 (07:00 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 23 Aug 2006 07:00:32 +0000 (07:00 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4505 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_workstationStartup.inc

index 2b8f96f67ab9ce5cfc7c5db3abffb661fc1b3471..11324ee9e23d837d4edbfa2832c1b15fe477df62 100644 (file)
@@ -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();
     }