Code

Followup commit for #2644
authorpsc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 15 Jun 2009 09:40:18 +0000 (09:40 +0000)
committerpsc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 15 Jun 2009 09:40:18 +0000 (09:40 +0000)
Clear FAI class list if FAI mirror has been set to inherited

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13718 594d385d-05f5-0310-b6e9-bd551577e9d8

trunk/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc

index 665f3348aa37289e0cff1c18a55b098ef482d2bc..06a0ed7651b005df66557eafb59dde8b68b4c591 100644 (file)
@@ -721,6 +721,11 @@ class workstartup extends plugin
       }
     }
 
+    /* Clear FAI class list if FAI mirror has been set to inherited */
+    if($this->FAIdebianMirror == "inherited"){
+      $this->FAIclass =array();
+    }
+
     if(isset($_POST['WorkstationStarttabPosted'])){
       if(isset($_POST['gotoLdap_inherit'])){
         $this->gotoLdap_inherit = TRUE;