mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2026-01-26 05:52:54 -05:00
Do not set Backend in Metadata to null in case icingadb module doesnot exist.
This commit is contained in:
parent
6ebaedccf4
commit
a5165ef476
3 changed files with 0 additions and 11 deletions
|
|
@ -85,10 +85,6 @@ class NodeController extends Controller
|
|||
continue;
|
||||
}
|
||||
|
||||
if (! Module::exists('icingadb')) {
|
||||
$config->getMetadata()->set('Backend', null);
|
||||
}
|
||||
|
||||
if (Module::exists('icingadb') &&
|
||||
($config->getBackendName() === '_icingadb' || IcingadbSupport::useIcingaDbAsBackend())
|
||||
) {
|
||||
|
|
|
|||
|
|
@ -84,10 +84,6 @@ class ProcessController extends Controller
|
|||
$bp = $this->loadModifiedBpConfig();
|
||||
$node = $this->getNode($bp);
|
||||
|
||||
if (! Module::exists('icingadb')) {
|
||||
$bp->getMetadata()->set('Backend', null);
|
||||
}
|
||||
|
||||
if (Module::exists('icingadb') &&
|
||||
($bp->getBackendName() === '_icingadb' || IcingadbSupport::useIcingaDbAsBackend())
|
||||
) {
|
||||
|
|
|
|||
|
|
@ -94,9 +94,6 @@ class Dashboard extends BaseHtmlElement
|
|||
}
|
||||
|
||||
$bp = $storage->loadProcess($name);
|
||||
if (! Module::exists('icingadb')) {
|
||||
$bp->getMetadata()->set('Backend', null);
|
||||
}
|
||||
|
||||
if (Module::exists('icingadb') &&
|
||||
($bp->getBackendName() === '_icingadb' || IcingadbSupport::useIcingaDbAsBackend())
|
||||
|
|
|
|||
Loading…
Reference in a new issue