EndpointController: remove obsolete init()

This commit is contained in:
Thomas Gelf 2017-08-16 14:43:03 +02:00
parent a870ab1f1d
commit cea6baa331
1 changed files with 0 additions and 8 deletions

View File

@ -6,12 +6,4 @@ use Icinga\Module\Director\Web\Controller\ObjectController;
class EndpointController extends ObjectController
{
public function init()
{
$this->assertPermission('director/inspect');
parent::init();
if ($this->object && $this->object->hasApiUser()) {
$params['endpoint'] = $this->object->object_name;
}
}
}