summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 80d83c2)
raw | patch | inline | side by side (parent: 80d83c2)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 7 Jul 2011 08:25:58 +0000 (08:25 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 7 Jul 2011 08:25:58 +0000 (08:25 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20941 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/admin/systems/goto/Device/class_InstallRecipe.inc | patch | blob | history |
diff --git a/gosa-plugins/goto/admin/systems/goto/Device/class_InstallRecipe.inc b/gosa-plugins/goto/admin/systems/goto/Device/class_InstallRecipe.inc
index 12e14731f1c58fb30e53beb969a07fdae82e1a37..af927b4b8be4cddbb15a56e1f70a16fa7d33b700 100644 (file)
function remove_from_parent()
{
- print "Missing";
+ // Try to remove the base install extension.
+ $rpc = $this->config->getRpcHandle();
+ $bMethod = $rpc->removeBaseInstallParameters($this->deviceUUID);
+ if(!$rpc->success()){
+ $this->rpcErrorMessage = $rpc->get_error();
+ msg_dialog::display(_("Error"), msgPool::rpcError($this->rpcErrorMessage), ERROR_DIALOG);
+ return(NULL);
+ }
}