Skip to content
Snippets Groups Projects
Commit d694d4d9 authored by Tim van Dijen's avatar Tim van Dijen
Browse files

Remove dead assignment

parent 6b955961
No related branches found
No related tags found
No related merge requests found
......@@ -132,7 +132,6 @@ class Federation
// initialize template and language
$t = new Template($this->config, 'admin:federation.twig');
$language = $t->getTranslator()->getLanguage()->getLanguage();
$defaultLang = $this->config->getString('language.default', 'en');
// process hosted entities
foreach ($entries['hosted'] as $index => $entity) {
......@@ -387,10 +386,10 @@ class Federation
$xmlUtils = new Utils\XML();
$xmlUtils->checkSAMLMessage($xmldata, 'saml-meta');
$entities = null;
try {
$entities = SAMLParser::parseDescriptorsString($xmldata);
} catch (Exception $e) {
$entities = null;
$error = $e->getMessage();
}
......
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