mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2026-06-08 16:24:21 -04:00
ServiceController: drop obsolete method
This commit is contained in:
parent
ef360809e6
commit
9bb600c13b
1 changed files with 0 additions and 17 deletions
|
|
@ -93,23 +93,6 @@ class ServiceController extends ObjectController
|
|||
return $this->loadSpecificObject($table, $uuid);
|
||||
}
|
||||
|
||||
/**
|
||||
* TODO: Is this still a thing? It's unused.
|
||||
*
|
||||
* @throws \Icinga\Exception\NotFoundError
|
||||
*/
|
||||
protected function loadOptionalApplyRule()
|
||||
{
|
||||
if ($apply = $this->params->get('apply')) {
|
||||
// Hint: doesn't work, DbObjectStore::load does no longer exist
|
||||
$store = new DbObjectStore($this->db(), $this->getBranch());
|
||||
$this->apply = $store->load('service', [
|
||||
'object_name' => $apply,
|
||||
'object_type' => 'template'
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
protected function addParamToTabs($name, $value)
|
||||
{
|
||||
foreach ($this->tabs()->getTabs() as $tab) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue