We drop support for the `INI` config backend type with v2.11
This commit is contained in:
parent
6c03c80f97
commit
1fd00dcf1c
|
@ -43,7 +43,7 @@ class GeneralConfigForm extends ConfigForm
|
||||||
parent::onRequest();
|
parent::onRequest();
|
||||||
|
|
||||||
if ($this->config->getConfigObject()->global->config_backend === 'ini') {
|
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');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -127,7 +127,7 @@ abstract class PreferencesStore
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($type === 'Ini') {
|
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');
|
$config->location = Config::resolvePath('preferences');
|
||||||
} elseif ($type === 'Db') {
|
} elseif ($type === 'Db') {
|
||||||
$config->connection = new DbConnection(ResourceFactory::getResourceConfig($config->resource));
|
$config->connection = new DbConnection(ResourceFactory::getResourceConfig($config->resource));
|
||||||
|
|
Loading…
Reference in New Issue