From: hickert Date: Tue, 30 Mar 2010 06:14:41 +0000 (+0000) Subject: Updated release selector X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=590ff41af9ea5cda9e338ee16db04bc2328cc0d2;p=gosa.git Updated release selector git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17369 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/fai/admin/fai/class_faiManagement.inc b/gosa-plugins/fai/admin/fai/class_faiManagement.inc index 3b7454fba..6ed3e961e 100644 --- a/gosa-plugins/fai/admin/fai/class_faiManagement.inc +++ b/gosa-plugins/fai/admin/fai/class_faiManagement.inc @@ -746,6 +746,9 @@ class faiManagement extends management $NewReleaseName = $name; } } + + $targetReleaseDN = "ou=".$name.",".$baseToUse; + $appsrc = preg_replace("/".preg_quote(get_ou('faiBaseRDN'), '/')."/i",get_ou('applicationRDN'),$baseToUse); $appdst = preg_replace("/".preg_quote(get_ou('faiBaseRDN'), '/')."/i",get_ou('applicationRDN'),"ou=".$name.",".$baseToUse) ; @@ -853,6 +856,10 @@ class faiManagement extends management "Daemon events called but classes where not accessible, DaemonEvent gosaSupportDaemon", FATAL_ERROR_DIALOG); } + + $releases = $this->getReleaseList(); + $this->releaseSelector->setBases($releases); + $this->releaseSelector->setBase($targetReleaseDN); exit(); } }