From c05c082f8c0bfec2a1bb573ef20304dc91d756e8 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 12 Aug 2008 13:39:12 +0000 Subject: [PATCH] Added default release option to group apps. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12197 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../goto/admin/groups/apps/class_groupApplication.inc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gosa-plugins/goto/admin/groups/apps/class_groupApplication.inc b/gosa-plugins/goto/admin/groups/apps/class_groupApplication.inc index a61bb330c..ff42dc878 100644 --- a/gosa-plugins/goto/admin/groups/apps/class_groupApplication.inc +++ b/gosa-plugins/goto/admin/groups/apps/class_groupApplication.inc @@ -34,7 +34,13 @@ class appgroup extends plugin } $this->Releases = $this->getReleases(); - $this->FAIrelease = "/"; + + /* Set intial release */ + $this->FAIrelease = $config->search("faiManagement","DEFAULT_RELEASE",array("menu")); + if(empty($this->FAIrelease) || !isset($this->Releases[$this->FAIrelease])){ + $this->FAIrelease = "/"; + } + $this->curbase = $this->config->current['BASE']; $this->reload(); -- 2.30.2