Skip to content

Commit a3dd4af

Browse files
committed
Remove support for metadata.handler, deprecated in 1.5
1 parent d35b08e commit a3dd4af

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/SimpleSAML/Metadata/MetaDataStorageHandler.php

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,7 @@ protected function __construct()
6666
{
6767
$config = Configuration::getInstance();
6868

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-
}
69+
$sourcesConfig = $config->getOptionalArray('metadata.sources', [['type' => 'flatfile']]);
7670

7771
try {
7872
$this->sources = MetaDataStorageSource::parseSources($sourcesConfig);

0 commit comments

Comments
 (0)