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

Session: Remove NameID conversion code.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2632 44740490-163a-0410-bde0-09ae8108e29a
parent 5c34ebca
Branches
Tags
No related merge requests found
......@@ -324,19 +324,6 @@ class SimpleSAML_Session {
$this->nameid = $nameid;
}
public function getNameID() {
if (array_key_exists('value', $this->nameid)) {
/*
* This session was saved by an old version of simpleSAMLphp.
* Convert to the new NameId format.
*
* TODO: Remove this conversion once every session uses the new format.
*/
$this->nameid['Value'] = $this->nameid['value'];
unset($this->nameid['value']);
$this->dirty = TRUE;
}
return $this->nameid;
}
......
......@@ -116,7 +116,7 @@ try {
}
$nameid = array(
'Format' => $nameid->item(0)->getAttribute('Format'),
'value' => $nameid->item(0)->textContent,
'Value' => $nameid->item(0)->textContent,
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment