IcingaConfig: make a couple of methods public
This commit is contained in:
parent
9549df5833
commit
3e4d2b8626
|
@ -34,7 +34,7 @@ class IcingaConfig
|
||||||
|
|
||||||
public static $table = 'director_generated_config';
|
public static $table = 'director_generated_config';
|
||||||
|
|
||||||
protected function __construct(Db $connection)
|
public function __construct(Db $connection)
|
||||||
{
|
{
|
||||||
$this->connection = $connection;
|
$this->connection = $connection;
|
||||||
$this->db = $connection->getDbAdapter();
|
$this->db = $connection->getDbAdapter();
|
||||||
|
@ -140,7 +140,7 @@ class IcingaConfig
|
||||||
return $config->hasBeenModified();
|
return $config->hasBeenModified();
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function hasBeenModified()
|
public function hasBeenModified()
|
||||||
{
|
{
|
||||||
$this->generateFromDb();
|
$this->generateFromDb();
|
||||||
$this->collectExtraFiles();
|
$this->collectExtraFiles();
|
||||||
|
@ -234,7 +234,7 @@ class IcingaConfig
|
||||||
return $this->zoneMap[$id];
|
return $this->zoneMap[$id];
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function store()
|
public function store()
|
||||||
{
|
{
|
||||||
|
|
||||||
$fileTable = IcingaConfigFile::$table;
|
$fileTable = IcingaConfigFile::$table;
|
||||||
|
|
Loading…
Reference in New Issue