diff --git a/application/controllers/PhperrorController.php b/application/controllers/PhperrorController.php
deleted file mode 100644
index 40a32c1a7..000000000
--- a/application/controllers/PhperrorController.php
+++ /dev/null
@@ -1,43 +0,0 @@
-getTabs()->add('error', array(
- 'label' => $this->translate('Error'),
- 'url' => $this->getRequest()->getUrl()
- ))->activate('error');
- $msg = $this->translate(
- "PHP version 5.4.x is required for Director >= 1.4.0, you're running %s."
- . ' Please either upgrade PHP or downgrade Icinga Director'
- );
- $this->view->title = $this->translate('Unsatisfied dependencies');
- $this->view->message = sprintf($msg, PHP_VERSION);
- }
-
- public function dependenciesAction()
- {
- $checker = new DependencyChecker(Icinga::app());
- if ($checker->satisfiesDependencies($this->Module())) {
- $this->redirectNow('director');
- }
- $this->setAutorefreshInterval(15);
- $this->getTabs()->add('error', [
- 'label' => $this->translate('Error'),
- 'url' => $this->getRequest()->getUrl()
- ])->activate('error');
- $this->view->title = $this->translate('Unsatisfied dependencies');
- $this->view->table = (new DependencyInfoTable($checker, $this->Module()))->render();
- $this->view->message = $this->translate(
- "Icinga Director depends on the following modules, please install/upgrade as required"
- );
- }
-}
diff --git a/application/views/scripts/phperror/dependencies.phtml b/application/views/scripts/phperror/dependencies.phtml
deleted file mode 100644
index 1cbf31e25..000000000
--- a/application/views/scripts/phperror/dependencies.phtml
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
= $this->escape($this->message) ?>
-= $this->table ?>
-
diff --git a/application/views/scripts/phperror/error.phtml b/application/views/scripts/phperror/error.phtml
deleted file mode 100644
index 260bf7208..000000000
--- a/application/views/scripts/phperror/error.phtml
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
= $this->escape($this->message) ?>
-
diff --git a/library/Director/Application/Dependency.php b/library/Director/Application/Dependency.php
deleted file mode 100644
index 0100e69fa..000000000
--- a/library/Director/Application/Dependency.php
+++ /dev/null
@@ -1,113 +0,0 @@
-=1.7.0
- * @param string $installedVersion
- * @param bool $enabled
- */
- public function __construct($name, $requirement, $installedVersion = null, $enabled = null)
- {
- $this->name = $name;
- $this->setRequirement($requirement);
- if ($installedVersion !== null) {
- $this->setInstalledVersion($installedVersion);
- }
- if ($enabled !== null) {
- $this->setEnabled($enabled);
- }
- }
-
- public function setRequirement($requirement)
- {
- if (preg_match('/^([<>=]+)\s*v?(\d+\.\d+\.\d+)$/', $requirement, $match)) {
- $this->operator = $match[1];
- $this->requiredVersion = $match[2];
- $this->requirement = $requirement;
- } else {
- throw new \InvalidArgumentException("'$requirement' is not a valid version constraint");
- }
- }
-
- /**
- * @return bool
- */
- public function isInstalled()
- {
- return $this->installedVersion !== null;
- }
-
- /**
- * @return string|null
- */
- public function getInstalledVersion()
- {
- return $this->installedVersion;
- }
-
- /**
- * @param string $version
- */
- public function setInstalledVersion($version)
- {
- $this->installedVersion = ltrim($version, 'v'); // v0.6.0 VS 0.6.0
- }
-
- /**
- * @return bool
- */
- public function isEnabled()
- {
- return $this->enabled === true;
- }
-
- /**
- * @param bool $enabled
- */
- public function setEnabled($enabled = true)
- {
- $this->enabled = $enabled;
- }
-
- public function isSatisfied()
- {
- if (! $this->isInstalled() || ! $this->isEnabled()) {
- return false;
- }
-
- return version_compare($this->installedVersion, $this->requiredVersion, $this->operator);
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function getRequirement()
- {
- return $this->requirement;
- }
-}
diff --git a/library/Director/Application/DependencyChecker.php b/library/Director/Application/DependencyChecker.php
deleted file mode 100644
index 78031d04a..000000000
--- a/library/Director/Application/DependencyChecker.php
+++ /dev/null
@@ -1,70 +0,0 @@
-app = $app;
- $this->modules = $app->getModuleManager();
- }
-
- /**
- * @param Module $module
- * @return Dependency[]
- */
- public function getDependencies(Module $module)
- {
- $dependencies = [];
- $isV290 = version_compare(Version::VERSION, '2.9.0', '>=');
- foreach ($module->getRequiredModules() as $moduleName => $required) {
- $dependency = new Dependency($moduleName, $required);
- $dependency->setEnabled($this->modules->hasEnabled($moduleName));
- if ($this->modules->hasInstalled($moduleName)) {
- $dependency->setInstalledVersion($this->modules->getModule($moduleName, false)->getVersion());
- }
- $dependencies[] = $dependency;
- }
- if ($isV290) {
- $libs = $this->app->getLibraries();
- foreach ($module->getRequiredLibraries() as $libraryName => $required) {
- $dependency = new Dependency($libraryName, $required);
- if ($libs->has($libraryName)) {
- $dependency->setInstalledVersion($libs->get($libraryName)->getVersion());
- $dependency->setEnabled();
- }
- $dependencies[] = $dependency;
- }
- }
-
- return $dependencies;
- }
-
- // if (version_compare(Version::VERSION, '2.9.0', 'ge')) {
- // }
- /**
- * @param Module $module
- * @return bool
- */
- public function satisfiesDependencies(Module $module)
- {
- foreach ($this->getDependencies($module) as $dependency) {
- if (! $dependency->isSatisfied()) {
- return false;
- }
- }
-
- return true;
- }
-}
diff --git a/library/Director/Web/Table/Dependency/DependencyInfoTable.php b/library/Director/Web/Table/Dependency/DependencyInfoTable.php
deleted file mode 100644
index 28aa856d9..000000000
--- a/library/Director/Web/Table/Dependency/DependencyInfoTable.php
+++ /dev/null
@@ -1,101 +0,0 @@
-module = $module;
- $this->checker = $checker;
- }
-
- protected function linkToModule($name, $icon)
- {
- return Html::link(
- Html::escape($name),
- Html::webUrl('config/module', ['name' => $name]),
- [
- 'class' => "icon-$icon"
- ]
- );
- }
-
- public function render()
- {
- $html = '