Require Icinga Web 2.5.1

refs #113
This commit is contained in:
Alexander A. Klimov 2018-01-16 11:40:44 +01:00 committed by Eric Lippmann
parent ee3cdf67a1
commit 15cc3e88e0
2 changed files with 1 additions and 10 deletions

View file

@ -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.

View file

@ -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();