From: hickert Date: Tue, 26 Apr 2011 06:50:45 +0000 (+0000) Subject: Fixed removal if releases X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=186abe6b91edd0095697039dbbddc792608fd21b;p=gosa.git Fixed removal if releases git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20766 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/goto-ng/admin/newConfigManagement/class_newConfigManagement.inc b/gosa-plugins/goto-ng/admin/newConfigManagement/class_newConfigManagement.inc index 9e6001f62..2330b8b93 100644 --- a/gosa-plugins/goto-ng/admin/newConfigManagement/class_newConfigManagement.inc +++ b/gosa-plugins/goto-ng/admin/newConfigManagement/class_newConfigManagement.inc @@ -557,7 +557,7 @@ class newConfigManagement extends plugin // Remove release $release = preg_replace("/^.*\//","", $this->getReleasePart($item['path'])); $rpc = $this->config->getRpcHandle(); - $rpc->removeRelease($release, TRUE); + $rpc->removeRelease($release, array('recursive' => TRUE)); echo "Removing release '{$release}'"; if(!$rpc->success()){ msg_dialog::display(_("Error"), sprintf(_("Failed to remove the release: %s. Error was: %s"),