From 1fd00dcf1ce6b92dba83256dc1d763b597165091 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Tue, 22 Jun 2021 16:48:06 +0200 Subject: [PATCH] We drop support for the `INI` config backend type with v2.11 --- application/forms/Config/GeneralConfigForm.php | 2 +- library/Icinga/User/Preferences/PreferencesStore.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/application/forms/Config/GeneralConfigForm.php b/application/forms/Config/GeneralConfigForm.php index cab750085..57c1a4cbc 100644 --- a/application/forms/Config/GeneralConfigForm.php +++ b/application/forms/Config/GeneralConfigForm.php @@ -43,7 +43,7 @@ class GeneralConfigForm extends ConfigForm parent::onRequest(); if ($this->config->getConfigObject()->global->config_backend === 'ini') { - $this->warning('The preferences backend of type INI is deprecated and will be removed with version 2.10'); + $this->warning('The preferences backend of type INI is deprecated and will be removed with version 2.11'); } } } diff --git a/library/Icinga/User/Preferences/PreferencesStore.php b/library/Icinga/User/Preferences/PreferencesStore.php index ad1c51608..c88cf332d 100644 --- a/library/Icinga/User/Preferences/PreferencesStore.php +++ b/library/Icinga/User/Preferences/PreferencesStore.php @@ -127,7 +127,7 @@ abstract class PreferencesStore } if ($type === 'Ini') { - Logger::warning('The preferences backend of type INI is deprecated and will be removed with version 2.10'); + Logger::warning('The preferences backend of type INI is deprecated and will be removed with version 2.11'); $config->location = Config::resolvePath('preferences'); } elseif ($type === 'Db') { $config->connection = new DbConnection(ResourceFactory::getResourceConfig($config->resource));