mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +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
|
@ -9,7 +9,6 @@
|
|||
if (!empty($SESSION->returnpage)) {
|
||||
$return = $SESSION->returnpage;
|
||||
unset($SESSION->returnpage);
|
||||
save_session("SESSION");
|
||||
redirect($return);
|
||||
} else {
|
||||
redirect("view.php?id=$mod->course");
|
||||
|
@ -22,7 +21,6 @@
|
|||
if (isset($SESSION->modform)) { // Variables are stored in the session
|
||||
$mod = $SESSION->modform;
|
||||
unset($SESSION->modform);
|
||||
save_session("SESSION");
|
||||
} else {
|
||||
$mod = (object)$_POST;
|
||||
}
|
||||
|
@ -94,7 +92,6 @@
|
|||
if (!empty($SESSION->returnpage)) {
|
||||
$return = $SESSION->returnpage;
|
||||
unset($SESSION->returnpage);
|
||||
save_session("SESSION");
|
||||
redirect($return);
|
||||
} else {
|
||||
redirect("view.php?id=$mod->course");
|
||||
|
@ -192,7 +189,6 @@
|
|||
|
||||
if (isset($return)) {
|
||||
$SESSION->returnpage = "$CFG->wwwroot/mod/$module->name/view.php?id=$cm->id";
|
||||
save_session("SESSION");
|
||||
}
|
||||
|
||||
$form->coursemodule = $cm->id;
|
||||
|
@ -276,7 +272,6 @@
|
|||
}
|
||||
|
||||
unset($SESSION->modform); // Clear any old ones that may be hanging around.
|
||||
save_session("SESSION");
|
||||
|
||||
$modform = "../mod/$module->name/mod.html";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue