From 26a997671facc09263423381839fc11b90f8be79 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 18 Apr 2008 12:40:51 +0000 Subject: [PATCH] Remove mime release too, if a fai release is removed. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10556 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/fai/admin/fai/class_faiManagement.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gosa-plugins/fai/admin/fai/class_faiManagement.inc b/gosa-plugins/fai/admin/fai/class_faiManagement.inc index 651797131..f0bcda8ee 100644 --- a/gosa-plugins/fai/admin/fai/class_faiManagement.inc +++ b/gosa-plugins/fai/admin/fai/class_faiManagement.inc @@ -495,6 +495,8 @@ class faiManagement extends plugin $ldap->recursive_remove(); $ldap->cd(preg_replace('/,'.normalizePreg(get_ou('faiou')).'/', ','.get_ou('applicationou'), $bb)); $ldap->recursive_remove(); + $ldap->cd(preg_replace('/,'.normalizePreg(get_ou('faiou')).'/', ','.get_ou('mimetypeou'), $bb)); + $ldap->recursive_remove(); $this->fai_release = $this->fai_base; /* Post remove */ -- 2.30.2