From: Petr Skoda Date: Fri, 30 Oct 2009 12:29:32 +0000 (+0000) Subject: MDL-20676 removed strange attempt to eliminate good old temporary error message X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=afda07d5ebb5cf788713d0ccf556aa3cb986fc44;p=moodle.git MDL-20676 removed strange attempt to eliminate good old temporary error message --- diff --git a/lib/session-test.php b/lib/session-test.php index edfb7a2810..b7dbe0ee87 100644 --- a/lib/session-test.php +++ b/lib/session-test.php @@ -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