diff --git a/application/controllers/NodeController.php b/application/controllers/NodeController.php index 4aee8f4..0613109 100644 --- a/application/controllers/NodeController.php +++ b/application/controllers/NodeController.php @@ -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()) ) { diff --git a/application/controllers/ProcessController.php b/application/controllers/ProcessController.php index 97225d5..272c671 100644 --- a/application/controllers/ProcessController.php +++ b/application/controllers/ProcessController.php @@ -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()) ) { diff --git a/library/Businessprocess/Web/Component/Dashboard.php b/library/Businessprocess/Web/Component/Dashboard.php index f8880b2..712c049 100644 --- a/library/Businessprocess/Web/Component/Dashboard.php +++ b/library/Businessprocess/Web/Component/Dashboard.php @@ -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())