From: cajus Date: Fri, 24 Mar 2006 13:01:27 +0000 (+0000) Subject: Remove applications for release if release is removed X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5197677d943fc42a00f756b14b0e2e3b6cb3cfd0;p=gosa.git Remove applications for release if release is removed git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2907 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/fai/class_faiManagement.inc b/plugins/admin/fai/class_faiManagement.inc index 730501ea5..98b4ec3cc 100644 --- a/plugins/admin/fai/class_faiManagement.inc +++ b/plugins/admin/fai/class_faiManagement.inc @@ -344,10 +344,11 @@ class faiManagement extends plugin $ldap->cd($bb); $ldap->recursive_remove(); + $ldap->cd(preg_replace('/,ou=fai,ou=configs,ou=systems,/', ',ou=apps,', $bb)); + $ldap->recursive_remove(); $faifilter['branch'] = "main"; /* Post remove */ - // $this->lock_type is set from this->reload $this->lock_name = $name; $this->lock_dn = $bb; diff --git a/plugins/admin/fai/headpage.tpl b/plugins/admin/fai/headpage.tpl index 6676b0d98..6a4e562c1 100644 --- a/plugins/admin/fai/headpage.tpl +++ b/plugins/admin/fai/headpage.tpl @@ -44,11 +44,11 @@   - {t}Create new branch using the current release{/t} + {t}Create new branch{/t}
  - {t}Create a locked version of the current release{/t} + {t}Create new locked branch{/t} {if $select_branch != "main"}