Code

Remove mime release too, if a fai release is removed.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 18 Apr 2008 12:40:51 +0000 (12:40 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 18 Apr 2008 12:40:51 +0000 (12:40 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10556 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/fai/admin/fai/class_faiManagement.inc

index 6517971311d0418cb81939b2860018aff6f74edc..f0bcda8eedc8c5e2e0d01a63c12b690dbb1a5f33 100644 (file)
@@ -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 */