HostController: remove HostAgentForm for now

Will probably return soon
This commit is contained in:
Thomas Gelf 2017-08-20 17:07:53 +02:00
parent b2984ba79d
commit 7e13a9a4f2
1 changed files with 0 additions and 5 deletions

View File

@ -314,11 +314,6 @@ class HostController extends ObjectController
public function agentAction() public function agentAction()
{ {
$this->content()->add(
IcingaHostAgentForm::load()
->setObject($this->requireObject())
->handleRequest()
);
$selfService = new SelfService($this->getHostObject(), $this->api()); $selfService = new SelfService($this->getHostObject(), $this->api());
if ($os = $this->params->get('download')) { if ($os = $this->params->get('download')) {
$selfService->handleLegacyAgentDownloads($os); $selfService->handleLegacyAgentDownloads($os);