From: moodler Date: Wed, 27 Sep 2006 08:02:26 +0000 (+0000) Subject: Some more debugging in course/rest.php (to error log) X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=1bbcb7c01a84ffec4a6c30e02f7d1cf16c5e539e;p=moodle.git Some more debugging in course/rest.php (to error log) --- diff --git a/course/rest.php b/course/rest.php index e6faa482be..4a04a1ea4e 100644 --- a/course/rest.php +++ b/course/rest.php @@ -114,6 +114,10 @@ switch($_SERVER['REQUEST_METHOD']) { $beforemod = NULL; } + if (debugging('',DEBUG_DEVELOPER)) { + error_log(serialize($beforemod)); + } + moveto_module($mod, $section, $beforemod); break; }