diff --git a/lib/session-test.php b/lib/session-test.php deleted file mode 100644 index f38479f3ade..00000000000 --- a/lib/session-test.php +++ /dev/null @@ -1,39 +0,0 @@ -. - -/** - * This is a tiny standalone diagnostic script to test that sessions - * are working correctly on a given server. - * - * Just run it from a browser. The first time you run it will - * set a new variable, and after that it will try to find it again. - * The random number is just to prevent browser caching. - * - * @todo add code that actually tests moodle sessions, the old one only tested - * PHP sessions used from installer, not the real moodle sessions - * @package moodlecore - * @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com} - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -/** Include config {@see config.php} */ -require '../config.php'; - -$PAGE->set_url('/lib/session-test.php'); - -error('session test not reimplemented yet'); //DO NOT localize or use print_error()! -// -//TODO: add code that actually tests moodle sessions, the old one only tested PHP sessions used from installer, not the real moodle sessions