Skip to content

Commit

Permalink
MDL-20676 removed strange attempt to eliminate good old temporary err…
Browse files Browse the repository at this point in the history
…or message
  • Loading branch information
skodak committed Oct 30, 2009
1 parent d34c1e9 commit afda07d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/session-test.php
Expand Up @@ -35,9 +35,6 @@
$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

?>

0 comments on commit afda07d

Please sign in to comment.