Skip to content
Snippets Groups Projects
Commit 873c0e54 authored by Olav Morken's avatar Olav Morken
Browse files

MetaDataStorageHandler: Include metadata index and set in returned metadata.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@803 44740490-163a-0410-bde0-09ae8108e29a
parent 65ef71d9
No related branches found
No related tags found
No related merge requests found
...@@ -276,6 +276,8 @@ class SimpleSAML_Metadata_MetaDataStorageHandler { ...@@ -276,6 +276,8 @@ class SimpleSAML_Metadata_MetaDataStorageHandler {
foreach($this->sources as $source) { foreach($this->sources as $source) {
$metadata = $source->getMetaData($index, $set); $metadata = $source->getMetaData($index, $set);
if($metadata !== NULL) { if($metadata !== NULL) {
$metadata['metadata-index'] = $index;
$metadata['metadata-set'] = $set;
return $metadata; return $metadata;
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment