From: hickert Date: Tue, 20 Nov 2007 12:30:31 +0000 (+0000) Subject: Adapt FAIclasses when copying workstations X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4892c8016de431491a4f2270c7616253c90c8359;p=gosa.git Adapt FAIclasses when copying workstations git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7824 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_workstationStartup.inc b/plugins/admin/systems/class_workstationStartup.inc index c92cde85a..76ba599a5 100644 --- a/plugins/admin/systems/class_workstationStartup.inc +++ b/plugins/admin/systems/class_workstationStartup.inc @@ -264,7 +264,9 @@ class workstartup extends plugin $this->FAIrelease = substr( $class, 1 ); } else + { $tmp2[$class] = $class; + } } $this->FAIclass = $tmp2; } @@ -1282,7 +1284,7 @@ class workstartup extends plugin $source_o = new workstartup ($this->config, $source['dn']); - foreach(array("gotoModules", "gotoAutoFs", "gotoFilesystem","gotoKernelParameters","gotoShares","customParameters") as $attr){ + foreach(array("FAIclass","gotoModules", "gotoAutoFs", "gotoFilesystem","gotoKernelParameters","gotoShares","customParameters") as $attr){ $this->$attr = $source_o->$attr; } }