From: hickert Date: Thu, 7 Jul 2011 08:25:58 +0000 (+0000) Subject: Added removal of Device Installation Tab X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2393e0fedb64bb323732aa18dab64d793c07e09a;p=gosa.git Added removal of Device Installation Tab git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20941 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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); + } }