From 6e85ab4676e0ade5a1f09f730248763a6388aa3a Mon Sep 17 00:00:00 2001 From: moodler Date: Sat, 28 Aug 2004 17:19:06 +0000 Subject: [PATCH] Merged from stable --- course/mod.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/course/mod.php b/course/mod.php index deb22cb1f9..237c5208bd 100644 --- a/course/mod.php +++ b/course/mod.php @@ -138,6 +138,9 @@ 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); -- 2.39.5