DeployFormsBug7530: warn for all 2.11.* versions

fixes #1985
This commit is contained in:
Thomas Gelf 2019-10-16 10:30:01 +02:00
parent a8db367718
commit 618b2647c6

View File

@ -68,7 +68,9 @@ trait DeployFormsBug7530
$version = $this->api->getVersion();
if ($version === null) {
throw new \RuntimeException($this->translate('Unable to detect your Icinga 2 Core version'));
} elseif ($version === '2.11.0') {
} elseif (\version_compare($version, '2.11.0', '>=')
&& \version_compare($version, '2.12.0', '<')
) {
return true;
}
}