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

WS-Fed: Remove unnecessary backwards compatibility.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@648 44740490-163a-0410-bde0-09ae8108e29a
parent 1a3e08e2
No related branches found
No related tags found
No related merge requests found
<?php
/* This file is included for backwards-compatibility. Any references to this file should be replaced
* by the prp.php-file instead.
*/
require_once('prp.php');
?>
\ No newline at end of file
...@@ -76,9 +76,6 @@ try { ...@@ -76,9 +76,6 @@ try {
/* Find the certificate used by the IdP. */ /* Find the certificate used by the IdP. */
if(array_key_exists('certificate', $idpMetadata)) { if(array_key_exists('certificate', $idpMetadata)) {
$certFile = $config->getPathvalue('certdir') . $idpMetadata['certificate']; $certFile = $config->getPathvalue('certdir') . $idpMetadata['certificate'];
} elseif(array_key_exists('cert', $idpMetadata)) {
/* For backwards compatibility. */
$certFile = $config->getBaseDir() . $idpMetadata['cert'];
} else { } else {
throw new Exception('Missing \'certificate\' metadata option in the \'wsfed-idp-remote\' metadata' . throw new Exception('Missing \'certificate\' metadata option in the \'wsfed-idp-remote\' metadata' .
' for the IdP \'' . $idpEntityId . '\'.'); ' for the IdP \'' . $idpEntityId . '\'.');
......
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