From 2393e0fedb64bb323732aa18dab64d793c07e09a Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 7 Jul 2011 08:25:58 +0000 Subject: [PATCH] Added removal of Device Installation Tab git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20941 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../admin/systems/goto/Device/class_InstallRecipe.inc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 12e14731f..af927b4b8 100644 --- a/gosa-plugins/goto/admin/systems/goto/Device/class_InstallRecipe.inc +++ b/gosa-plugins/goto/admin/systems/goto/Device/class_InstallRecipe.inc @@ -530,7 +530,14 @@ class InstallRecipe extends plugin 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); + } } -- 2.30.2