Commit 977563e9 authored by Guillaume28's avatar Guillaume28

fix(rtdowntime): Duplicate object

parent a1cef1bf
......@@ -84,8 +84,6 @@ class CentreonRtDowntime extends CentreonObject
parent::__construct($dependencyInjector);
$this->object = new \Centreon_Object_RtDowntime($dependencyInjector);
$this->hgObject = new \CentreonHostgroups($this->db);
$this->hostObject = new \CentreonClapi\CentreonHost($this->db);
$this->serviceObject = new \CentreonClapi\CentreonService($this->db);
$this->hostObject = new \CentreonClapi\CentreonHost($dependencyInjector);
$this->serviceObject = new \CentreonClapi\CentreonService($dependencyInjector);
$this->sgObject = new \CentreonServiceGroups($this->db);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment