From c72fdb308c13b8398a11f21d442d5d2c97a9af8d Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 1 Oct 2009 14:29:36 +0000 Subject: [PATCH] Updated copy & paste - Copy terminal path and swap server settings too git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14448 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/goto/admin/ogroups/goto/class_termgroup.inc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gosa-plugins/goto/admin/ogroups/goto/class_termgroup.inc b/gosa-plugins/goto/admin/ogroups/goto/class_termgroup.inc index a2bcc4648..2d6396060 100644 --- a/gosa-plugins/goto/admin/ogroups/goto/class_termgroup.inc +++ b/gosa-plugins/goto/admin/ogroups/goto/class_termgroup.inc @@ -412,6 +412,11 @@ class termgroup extends plugin /* Create used ntp server array */ $this->gotoNtpServer= array(); + $source_o = new termgroup ($this->config, $source['dn']); + foreach(array("gotoTerminalPath","gotoSwapServer") as $attr){ + $this->$attr = $source_o->$attr; + } + if(isset($source['gotoNtpServer'])){ $this->inheritTimeServer = false; unset($source['gotoNtpServer']['count']); -- 2.30.2