summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 30008af)
raw | patch | inline | side by side (parent: 30008af)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 6 Jun 2007 07:12:13 +0000 (07:12 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 6 Jun 2007 07:12:13 +0000 (07:12 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6554 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/systems/class_workstationGeneric.inc | patch | blob | history |
diff --git a/plugins/admin/systems/class_workstationGeneric.inc b/plugins/admin/systems/class_workstationGeneric.inc
index bd426084bfb2a5e2262816df10b9bc2c46810342..c9414bf70b5952f13be74dcefddc2ae221749d02 100644 (file)
var $ignore_account= TRUE;
var $attributes= array("gotoMode", "gotoSyslogServer", "gotoNtpServer",
"gotoFloppyEnable", "gotoCdromEnable", "cn", "gotoSndModule",
- "ghCpuType", "ghMemSize", "ghUsbSupport",
+ "ghCpuType", "ghMemSize", "ghUsbSupport", "FAIstate",
"ghGfxAdapter", "ghSoundAdapter", "gotoLastUser", "l","FAIscript");
var $objectclasses= array("top", "gotoWorkstation", "GOhard","FAIobject");
}
if($attrs['FAIstate'] == ""){
-#FIXME we should check if FAIobject is used anymore
+ #FIXME we should check if FAIobject is used anymore
$attrs['FAIstate'] = array();
}
}
}
+ /* Remove FAIstate */
+ if (isset($this->attrs['FAIstate'])){
+ unset ($this->attrs['FAIstate']);
+ }
+
/* Add missing arrays */
foreach (array("ghScsiDev", "ghIdeDev", "ghNetNic") as $val){
if (isset ($this->$val) && count ($this->$val) != 0){