From 6a871971291628a1eb1eee79b726d9051e69b2fa Mon Sep 17 00:00:00 2001 From: Jaime Perez Crespo <jaime.perez@uninett.no> Date: Thu, 31 Mar 2016 14:33:43 +0200 Subject: [PATCH] Creating a session doesn't seem the way to NOT create a session. Stop creating a transient session, it only causes trouble. --- modules/metarefresh/bin/metarefresh.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/modules/metarefresh/bin/metarefresh.php b/modules/metarefresh/bin/metarefresh.php index c12e1aaa6..bad5c37a0 100755 --- a/modules/metarefresh/bin/metarefresh.php +++ b/modules/metarefresh/bin/metarefresh.php @@ -13,8 +13,6 @@ $baseDir = dirname(dirname(dirname(dirname(__FILE__)))); // Add library autoloader. require_once($baseDir . '/lib/_autoload.php'); -SimpleSAML_Session::useTransientSession(); /* No need to try to create a session here. */ - if(!SimpleSAML\Module::isModuleEnabled('metarefresh')) { echo("You need to enable the metarefresh module before this script can be used.\n"); echo("You can enable it by running the following command:\n"); -- GitLab