Skip to content

Commit

Permalink
Switch from the long deprecated SimpleSAML_Session::getInstance() met…
Browse files Browse the repository at this point in the history
…hod to the new getSessionFromRequest().
  • Loading branch information
jaimeperez committed Jan 21, 2015
1 parent d20cb4f commit da92c77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/attributequery.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

$session = SimpleSAML_Session::getInstance();
$session = SimpleSAML_Session::getSessionFromRequest();
$metadata = SimpleSAML_Metadata_MetaDataStorageHandler::getMetadataHandler();

if (!array_key_exists('StateId', $_REQUEST)) {
Expand Down

0 comments on commit da92c77

Please sign in to comment.