From: hickert Date: Tue, 13 May 2008 09:43:25 +0000 (+0000) Subject: Fixed problem with FAIclasses if SI wasn't reachable. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=17730b5b72545989f5c9fa2be5ba8c43f4cf2a3c;p=gosa.git Fixed problem with FAIclasses if SI wasn't reachable. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10876 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc b/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc index b138c10b3..d9a93a41b 100644 --- a/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc +++ b/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc @@ -906,8 +906,13 @@ class workstartup extends plugin $this->attrs['FAIclass'] = array(); $this->attrs['FAIdebianMirror'] = array(); } - } + }else{ + /* Don't touch FAI objects if something went wrong with the si daemon. + */ + if(isset($this->attrs['FAIclass'])) unset($this->attrs['FAIclass']); + if(isset($this->attrs['FAIdebianMirror'])) unset($this->attrs['FAIdebianMirror']); + } /* prepare share settings */ $tmp = array();