From: hickert Date: Thu, 9 Oct 2008 08:21:47 +0000 (+0000) Subject: Updated winstations X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4c88bc73a32f391837126c35eb21b138e3522664;p=gosa.git Updated winstations -Fixed ignore_account flag, wasn't working in combination with additional tabs. Updated Opsi -Fixed remove_from_parent. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12646 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/opsi/admin/opsi/class_opsigeneric.inc b/gosa-plugins/opsi/admin/opsi/class_opsigeneric.inc index 2e8f88472..b9ab712b0 100644 --- a/gosa-plugins/opsi/admin/opsi/class_opsigeneric.inc +++ b/gosa-plugins/opsi/admin/opsi/class_opsigeneric.inc @@ -103,6 +103,7 @@ class opsiGeneric extends plugin foreach($list as $entry){ if(preg_match("/^".normalizePreg($this->hostId)."$/i",$entry['NAME'][0]['VALUE'])){ $this->initially_was_account = TRUE; + $this->is_account = TRUE; foreach(array( "is_installed" => "LASTSEEN", "description" => "DESCRIPTION", @@ -178,8 +179,7 @@ class opsiGeneric extends plugin }else{ - /* Remember initial settings */ - $this->is_account = TRUE; + /* Remember initial settings */ $this->a_initial_selectedLocalProducts = $this->a_selectedLocalProducts; $this->s_initial_selectedNetbootProduct = $this->s_selectedNetbootProduct; $this->a_initial_availableNetbootProducts = $this->a_availableNetbootProducts; diff --git a/gosa-plugins/samba/admin/systems/samba/tabs_winstation.inc b/gosa-plugins/samba/admin/systems/samba/tabs_winstation.inc index d6089135f..a1dc10ed8 100644 --- a/gosa-plugins/samba/admin/systems/samba/tabs_winstation.inc +++ b/gosa-plugins/samba/admin/systems/samba/tabs_winstation.inc @@ -36,7 +36,7 @@ class wintabs extends tabs $this->by_object[$key]->dn= $this->dn; } - tabs::save(TRUE); + tabs::save(); } }