From: hickert Date: Fri, 18 Apr 2008 12:40:51 +0000 (+0000) Subject: Remove mime release too, if a fai release is removed. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=26a997671facc09263423381839fc11b90f8be79;p=gosa.git 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 --- 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 */