mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-24 22:34:24 +02:00
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
|
class Monitoring_ListController extends Controller
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* The backend used for this controller
|
|
||||||
*
|
|
||||||
* @var Backend
|
|
||||||
*/
|
|
||||||
protected $backend;
|
|
||||||
|
|
||||||
protected $url;
|
protected $url;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -32,7 +25,6 @@ class Monitoring_ListController extends Controller
|
|||||||
*/
|
*/
|
||||||
public function init()
|
public function init()
|
||||||
{
|
{
|
||||||
$this->backend = Backend::createBackend($this->_getParam('backend'));
|
|
||||||
$this->createTabs();
|
$this->createTabs();
|
||||||
$this->view->compact = $this->_request->getParam('view') === 'compact';
|
$this->view->compact = $this->_request->getParam('view') === 'compact';
|
||||||
$this->url = Url::fromRequest();
|
$this->url = Url::fromRequest();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user