Skip to content
Snippets Groups Projects
Unverified Commit a01ffb97 authored by Tim van Dijen's avatar Tim van Dijen Committed by GitHub
Browse files

Fix earlier merging mistake

parent 6ef5c104
No related branches found
No related tags found
No related merge requests found
...@@ -247,13 +247,6 @@ class PowerIdPDisco extends \SimpleSAML\XHTML\IdPDisco ...@@ -247,13 +247,6 @@ class PowerIdPDisco extends \SimpleSAML\XHTML\IdPDisco
$idpList = $this->idplistStructured($this->filterList($idpList)); $idpList = $this->idplistStructured($this->filterList($idpList));
$preferredIdP = $this->getRecommendedIdP(); $preferredIdP = $this->getRecommendedIdP();
$faventry = null;
foreach ($idpList AS $tab => $slist) {
if (!empty($preferredIdP) && array_key_exists($preferredIdP, $slist)) {
$faventry = $slist[$preferredIdP];
}
}
$t = new \SimpleSAML\XHTML\Template($this->config, 'discopower:disco.tpl.php', 'disco'); $t = new \SimpleSAML\XHTML\Template($this->config, 'discopower:disco.tpl.php', 'disco');
$discoPowerTabs = array( $discoPowerTabs = array(
'denmark' => \SimpleSAML\Locale\Translate::noop('{discopower:tabs:denmark}'), 'denmark' => \SimpleSAML\Locale\Translate::noop('{discopower:tabs:denmark}'),
......
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