We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d35b08e commit a3dd4afCopy full SHA for a3dd4af
src/SimpleSAML/Metadata/MetaDataStorageHandler.php
@@ -66,13 +66,7 @@ protected function __construct()
66
{
67
$config = Configuration::getInstance();
68
69
- $sourcesConfig = $config->getOptionalArray('metadata.sources', null);
70
-
71
- // for backwards compatibility, and to provide a default configuration
72
- if ($sourcesConfig === null) {
73
- $type = $config->getOptionalString('metadata.handler', 'flatfile');
74
- $sourcesConfig = [['type' => $type]];
75
- }
+ $sourcesConfig = $config->getOptionalArray('metadata.sources', [['type' => 'flatfile']]);
76
77
try {
78
$this->sources = MetaDataStorageSource::parseSources($sourcesConfig);
0 commit comments