Code

Fixed removal if releases
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 26 Apr 2011 06:50:45 +0000 (06:50 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 26 Apr 2011 06:50:45 +0000 (06:50 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20766 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto-ng/admin/newConfigManagement/class_newConfigManagement.inc

index 9e6001f62ff9581dc797f214bcc9062d6d0dbc7a..2330b8b93d726afd6a1ef0c465ed7174871977f5 100644 (file)
@@ -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"),