]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-20676 removed strange attempt to eliminate good old temporary error message
authorPetr Skoda <skodak@moodle.org>
Fri, 30 Oct 2009 12:29:32 +0000 (12:29 +0000)
committerPetr Skoda <skodak@moodle.org>
Fri, 30 Oct 2009 12:29:32 +0000 (12:29 +0000)
lib/session-test.php

index edfb7a2810efe4bf56e4eec203d4cccbefea407f..b7dbe0ee87fc904699387efe59f0d80a6d348343 100644 (file)
@@ -35,9 +35,6 @@ require '../config.php';
 $PAGE->set_url(new moodle_url($CFG->wwwroot.'/lib/session-test.php'));
 $PAGE->set_generaltype('form');
 
-list($message, $moreinfourl, $link) = prepare_error_message('notlocalisederrormessage', 'error', '', 'session test not reimplemented yet');
-echo $OUTPUT->fatal_error($message, $moreinfourl, $link, debug_backtrace());
+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 
-
-?>
\ No newline at end of file