mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-09-26 03:09:11 +02:00
GroupMemberTable: code cleanup
This commit is contained in:
parent
241bad7d81
commit
eb433ad03e
@ -5,7 +5,6 @@ namespace Icinga\Module\Director\Web\Table;
|
||||
use Icinga\Module\Director\Db;
|
||||
use Icinga\Module\Director\Objects\IcingaObjectGroup;
|
||||
use ipl\Html\Link;
|
||||
use ipl\Web\Widget\ControlsAndContent;
|
||||
use ipl\Web\Table\ZfQueryBasedTable;
|
||||
use ipl\Web\Url;
|
||||
|
||||
@ -45,20 +44,6 @@ class GroupMemberTable extends ZfQueryBasedTable
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function renderTo(ControlsAndContent $controller)
|
||||
{
|
||||
$url = $controller->url();
|
||||
$this->initializeOptionalQuickSearch($controller);
|
||||
$controller->content()->add([
|
||||
$this->getPaginator($url),
|
||||
$this
|
||||
]);
|
||||
|
||||
if ($url->getParam('format') === 'sql') {
|
||||
$controller->content()->prepend($this->dumpSqlQuery($url));
|
||||
}
|
||||
}
|
||||
|
||||
public function getType()
|
||||
{
|
||||
return $this->type;
|
||||
|
Loading…
x
Reference in New Issue
Block a user