summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7ece561)
raw | patch | inline | side by side (parent: 7ece561)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 19 Apr 2011 09:58:43 +0000 (09:58 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 19 Apr 2011 09:58:43 +0000 (09:58 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20744 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto-ng/admin/newConfigManagement/class_newConfigManagement.inc | patch | blob | history |
diff --git a/gosa-plugins/goto-ng/admin/newConfigManagement/class_newConfigManagement.inc b/gosa-plugins/goto-ng/admin/newConfigManagement/class_newConfigManagement.inc
index 5cf92797aa2d205f411d439699886eb8139e6c97..21ffe2454ea0fbc0f3b47a1b1d03e98bdb94cbd4 100644 (file)
$distPath = "/root/{$dist['name']}";
foreach($names as $rName){
$rPath .= '/'.$rName;
-
-
$this->dataModel->addItem('Release',$distPath, $rName, $release);
-
- print_a(array('Release',$distPath, $rName, $release));
$distPath .= $rPath;
}
}
$imethod = $values['installation_method'];
$mirror = $values['mirror'];
+ // Initiate the rpc request.
$rpc = $this->config->getRpcHandle();
$res = $rpc->createDistribution($name, $itype, array('mirror'=>$mirror, 'install_method' => $imethod));
-
- print_a(array($name, $itype, array('mirror'=>$mirror, 'install_method' => $imethod)));
-
if(!$rpc->success()){
msg_dialog::display(_("Error"), sprintf(_("Failed to save distributions: %s"), $rpc->get_error()),ERROR_DIALOG);
return(NULL);