Fixed notice() so that you can pass a course if you want

This commit is contained in:
moodler 2006-09-24 06:21:15 +00:00
parent 978abb4291
commit c7731ab5e2
2 changed files with 9 additions and 6 deletions

View file

@ -291,8 +291,7 @@
if (!set_config("release", $release)) {
notify("ERROR: Could not update release version in database!!");
}
notice(get_string('releasenoteslink', 'admin', 'http://docs.moodle.org/en/Release_Notes'), 'index.php');
exit;
notice(get_string('releasenoteslink', 'admin', 'http://docs.moodle.org/en/Release_Notes'), 'index.php', 'none');
}
/// Send $CFG->unicodedb to DB to have it available for next requests