* Remove init operation for zahost and zanode.

This commit is contained in:
tanghucheng
2023-01-12 13:22:03 +08:00
parent a9d3a9dcc7
commit f499e9e4af
9 changed files with 0 additions and 295 deletions
-22
View File
@@ -161,28 +161,6 @@ class zanode extends control
$this->display();
}
/*
* Init node.
*
* @param int $hostID
* @return void
*/
public function init($nodeID)
{
$this->view->title = $this->lang->zanode->initTitle;
$this->view->users = $this->loadModel('user')->getPairs('noletter|nodeleted');
$this->view->nodeID = $nodeID;
$this->view->node = $this->zanode->getNodeById($nodeID);
$this->view->initBash = sprintf($this->config->zanode->initBash, getWebRoot(true));
$this->view->notice = $this->lang->zanode->init->initSuccessNoticeTitle;
$this->view->buttonName = $this->lang->zanode->init->button;
$this->view->modalLink = $this->createLink('testcase', 'automation', 0, '', true);
$this->view->modalClass = 'iframe';
$this->view->closeLink = $this->createLink('zanode', 'browse');
$this->display();
}
/**
* start Node.
*