mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-09-25 10:57:41 +02:00
Revert "ServiceSet: re-enable them"
This reverts commit c073278ee3a297376cc006356381e544ab6926ce.
This commit is contained in:
parent
58245108c4
commit
f286b5ad08
@ -60,7 +60,7 @@ class ServiceController extends ObjectController
|
|||||||
'urlParams' => array('name' => $this->host->object_name),
|
'urlParams' => array('name' => $this->host->object_name),
|
||||||
'label' => $this->translate('Services'),
|
'label' => $this->translate('Services'),
|
||||||
));
|
));
|
||||||
} elseif ($this->set) {
|
} elseif ($this->host) {
|
||||||
$this->getTabs()->add('services', array(
|
$this->getTabs()->add('services', array(
|
||||||
'url' => 'director/serviceset/services',
|
'url' => 'director/serviceset/services',
|
||||||
'urlParams' => array('name' => $this->set->object_name),
|
'urlParams' => array('name' => $this->set->object_name),
|
||||||
|
@ -68,10 +68,12 @@ abstract class ObjectsController extends ActionController
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($object->supportsSets() || $object->isGroup() /** Bullshit, need base object, wrong on users */) {
|
if ($object->supportsSets() || $object->isGroup() /** Bullshit, need base object, wrong on users */) {
|
||||||
|
/** forced to master, disabled for now
|
||||||
$tabs->add('sets', array(
|
$tabs->add('sets', array(
|
||||||
'url' => sprintf('director/%ss/sets', $type),
|
'url' => sprintf('director/%ss/sets', $type),
|
||||||
'label' => $this->translate('Sets')
|
'label' => $this->translate('Sets')
|
||||||
));
|
));
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
$tabs->add('tree', array(
|
$tabs->add('tree', array(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user