mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-29 08:44:11 +02:00
ListController: remove obsolete actions
This commit is contained in:
parent
e02e61abd4
commit
f5f16e1a67
@ -59,41 +59,6 @@ class ListController extends ActionController
|
|||||||
$this->render('table');
|
$this->render('table');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function syncpropertyAction()
|
|
||||||
{
|
|
||||||
$this->view->addLink = $this->view->qlink(
|
|
||||||
$this->translate('Add sync property rule'),
|
|
||||||
'director/syncproperty/add'
|
|
||||||
);
|
|
||||||
|
|
||||||
$this->setImportTabs()->activate('syncproperty');
|
|
||||||
$this->view->title = $this->translate('Sync property');
|
|
||||||
$this->view->table = $this->loadTable('syncproperty')->setConnection($this->db());
|
|
||||||
$this->render('table');
|
|
||||||
}
|
|
||||||
|
|
||||||
public function datalistentryAction()
|
|
||||||
{
|
|
||||||
$listId = $this->params->get('list_id');
|
|
||||||
$this->view->lastId = $listId;
|
|
||||||
|
|
||||||
$this->view->addLink = $this->view->qlink(
|
|
||||||
$this->translate('Add entry'),
|
|
||||||
'director/datalistentry/add' . '?list_id=' . $listId
|
|
||||||
);
|
|
||||||
|
|
||||||
$this->view->title = $this->translate('List entries');
|
|
||||||
$this->getTabs()->add('editlist', array(
|
|
||||||
'url' => 'director/datalist/edit' . '?id=' . $listId,
|
|
||||||
'label' => $this->translate('Edit list'),
|
|
||||||
))->add('datalistentry', array(
|
|
||||||
'url' => 'director/datalistentry' . '?list_id=' . $listId,
|
|
||||||
'label' => $this->view->title,
|
|
||||||
))->activate('datalistentry');
|
|
||||||
|
|
||||||
$this->prepareAndRenderTable('datalistEntry');
|
|
||||||
}
|
|
||||||
|
|
||||||
public function datafieldAction()
|
public function datafieldAction()
|
||||||
{
|
{
|
||||||
$this->view->addLink = $this->view->qlink(
|
$this->view->addLink = $this->view->qlink(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user