Don't try and set cookies here .... can cause errors (see bug 2941)

This commit is contained in:
moodler 2005-04-16 11:15:45 +00:00
parent 89286e242d
commit e3eae97b07

View File

@ -42,10 +42,6 @@ class block_login extends block_base {
$signup = '';
}
if (get_moodle_cookie() == '') {
set_moodle_cookie('nobody'); // To help search for cookies
}
$username = get_moodle_cookie() === 'nobody' ? '' : get_moodle_cookie();
if (empty($USER->loggedin)) {