summaryrefslogtreecommitdiffstats
path: root/www/example-simple/saml2-example.php
diff options
context:
space:
mode:
authorJaime Perez <jaime.perez@uninett.no>2014-07-08 15:02:11 +0200
committerJaime Perez <jaime.perez@uninett.no>2014-07-08 15:02:11 +0200
commitb9e02004f2d14b4b11355db3cf94fbf770f4fd3a (patch)
tree8ca8c0884c2dc79846ba272436157c71e47cd1b1 /www/example-simple/saml2-example.php
parentb8724609ee1e6ff40b22afd269cb2bca7b4ec9f7 (diff)
downloadsimplesamlphp-b9e02004f2d14b4b11355db3cf94fbf770f4fd3a.zip
simplesamlphp-b9e02004f2d14b4b11355db3cf94fbf770f4fd3a.tar.gz
simplesamlphp-b9e02004f2d14b4b11355db3cf94fbf770f4fd3a.tar.bz2
Rename SimpleSAML_Session::getInstance() to SimpleSAML_Session::getSessionFromRequest(), and leave the former as deprecated.
Diffstat (limited to 'www/example-simple/saml2-example.php')
-rw-r--r--www/example-simple/saml2-example.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/example-simple/saml2-example.php b/www/example-simple/saml2-example.php
index 7c48d5f..5fdc83b 100644
--- a/www/example-simple/saml2-example.php
+++ b/www/example-simple/saml2-example.php
@@ -27,7 +27,7 @@ session_cache_limiter('nocache');
/* Load simpleSAMLphp, configuration and metadata */
$config = SimpleSAML_Configuration::getInstance();
-$session = SimpleSAML_Session::getInstance();
+$session = SimpleSAML_Session::getSessionFromRequest();
SimpleSAML_Logger::warning('The file example-simple/saml2-example.php is deprecated and will be removed in future versions.');