mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
Removed save_session() - no longer needed.
This commit is contained in:
parent
55271c3047
commit
7a361c8b55
8 changed files with 0 additions and 18 deletions
|
@ -33,7 +33,6 @@
|
|||
} else if ($edit == "off") {
|
||||
$USER->editing = false;
|
||||
}
|
||||
save_session("USER");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -43,11 +42,9 @@
|
|||
} else if ($help == "off") {
|
||||
$USER->help = false;
|
||||
}
|
||||
save_session("USER");
|
||||
}
|
||||
|
||||
$SESSION->fromdiscussion = "$CFG->wwwroot/course/view.php?id=$course->id";
|
||||
save_session("SESSION");
|
||||
|
||||
if (! $course->category) { // This course is not a real course.
|
||||
redirect("$CFG->wwwroot/");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue