From: hickert Date: Tue, 12 Aug 2008 13:39:12 +0000 (+0000) Subject: Added default release option to group apps. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c05c082f8c0bfec2a1bb573ef20304dc91d756e8;p=gosa.git Added default release option to group apps. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12197 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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();