Skip to content
Snippets Groups Projects
Commit b736c89a authored by Thijs Kinkhorst's avatar Thijs Kinkhorst Committed by Tim van Dijen
Browse files

Remove any 'expire' from the output of the MetadataConverter.

Although strictly 'less correct'. When manually converting
metadata, this is not such a useful note, and frequently gives
rise to trouble when the output is copied to somewhere static.
parent eee431df
No related branches found
No related tags found
No related merge requests found
......@@ -441,6 +441,13 @@ class Federation
*/
unset($entityMetadata['entityDescriptor']);
/**
* Remove any expire from the metadata. This is not so useful
* for manually converted metadata and frequently gives rise
* to unexpected results when copy-pased statically.
*/
unset($entityMetadata['expire']);
$text .= '$metadata[' . var_export($entityId, true) . '] = '
. VarExporter::export($entityMetadata) . ";\n";
}
......
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