monitoring/list: no need to declare $this->backend
This happens in the monitoring base controller right now
This commit is contained in:
parent
992a8a276b
commit
58d4ddcb4c
|
@ -16,13 +16,6 @@ use Icinga\Web\Widget;
|
|||
|
||||
class Monitoring_ListController extends Controller
|
||||
{
|
||||
/**
|
||||
* The backend used for this controller
|
||||
*
|
||||
* @var Backend
|
||||
*/
|
||||
protected $backend;
|
||||
|
||||
protected $url;
|
||||
|
||||
/**
|
||||
|
@ -32,7 +25,6 @@ class Monitoring_ListController extends Controller
|
|||
*/
|
||||
public function init()
|
||||
{
|
||||
$this->backend = Backend::createBackend($this->_getParam('backend'));
|
||||
$this->createTabs();
|
||||
$this->view->compact = $this->_request->getParam('view') === 'compact';
|
||||
$this->url = Url::fromRequest();
|
||||
|
|
Loading…
Reference in New Issue