Revision: 3084
Author:   olavmrk
Date:     Fri May  4 01:02:50 2012
Log: metarefresh: Do not use a session when executing metarefresh from the command line.
http://code.google.com/p/simplesamlphp/source/detail?r=3084

Modified:
 /trunk/modules/metarefresh/bin/metarefresh.php

=======================================
--- /trunk/modules/metarefresh/bin/metarefresh.php      Thu May 27 02:02:03 2010
+++ /trunk/modules/metarefresh/bin/metarefresh.php      Fri May  4 01:02:50 2012
@@ -13,6 +13,8 @@
 /* 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");

--
You received this message because you are subscribed to the Google Groups 
"simpleSAMLphp commits" group.
To post to this group, send email to simplesamlphp-commits@googlegroups.com.
To unsubscribe from this group, send email to 
simplesamlphp-commits+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/simplesamlphp-commits?hl=en.

Reply via email to