Removed save_session() - no longer needed.

This commit is contained in:
moodler 2003-02-27 02:46:37 +00:00
parent 55271c3047
commit 7a361c8b55
8 changed files with 0 additions and 18 deletions

View file

@ -38,12 +38,10 @@
}
$USER->student["$id"] = true;
save_session("USER");
if ($SESSION->wantsurl) {
$destination = $SESSION->wantsurl;
unset($SESSION->wantsurl);
save_session("SESSION");
} else {
$destination = "$CFG->wwwroot/course/view.php?id=$id";
}
@ -72,12 +70,10 @@
}
$USER->student["$id"] = true;
save_session("USER");
if ($SESSION->wantsurl) {
$destination = $SESSION->wantsurl;
unset($SESSION->wantsurl);
save_session("SESSION");
} else {
$destination = "$CFG->wwwroot/course/view.php?id=$id";
}