]> git.mjollnir.org Git - moodle.git/commitdiff
Merged from stable
authormoodler <moodler>
Sat, 28 Aug 2004 17:19:06 +0000 (17:19 +0000)
committermoodler <moodler>
Sat, 28 Aug 2004 17:19:06 +0000 (17:19 +0000)
course/mod.php

index deb22cb1f97b12357316c5d951cde19ee527dcc1..237c5208bd57492ad7c3b3bd573de2c4dce938cc 100644 (file)
                 if (! delete_mod_from_section($mod->coursemodule, "$mod->section")) {
                     notify("Could not delete the $mod->modulename from that section");
                 }
+
+                unset($SESSION->returnpage);
+
                 add_to_log($course->id, "course", "delete mod", 
                            "view.php?id=$mod->course", 
                            "$mod->modulename $mod->instance", $mod->coursemodule);