diff --git a/doc/01-Installation.md b/doc/01-Installation.md index d1bced4..4c8f86f 100644 --- a/doc/01-Installation.md +++ b/doc/01-Installation.md @@ -4,7 +4,7 @@ Requirements ------------ -* Icinga Web 2 (>= 2.4.1) +* Icinga Web 2 (>= 2.5.1) * PHP (>= 5.4 or 7.x) The Icinga Web 2 `monitoring` module needs to be configured and enabled. diff --git a/library/Businessprocess/Web/Url.php b/library/Businessprocess/Web/Url.php index 594603e..3c036d4 100644 --- a/library/Businessprocess/Web/Url.php +++ b/library/Businessprocess/Web/Url.php @@ -14,15 +14,6 @@ use Icinga\Web\Url as WebUrl; */ class Url extends WebUrl { - public function setBasePath($basePath) - { - if (property_exists($this, 'basePath')) { - parent::setBasePath($basePath); - } else { - return $this->setBaseUrl($basePath); - } - } - protected static function getRequest() { $app = Icinga::app();