FIxed to use the new debugging function

This commit is contained in:
moodler
2006-09-18 09:13:04 +00:00
parent 65becbc3ef
commit fdb1cf2cc1
21 changed files with 50 additions and 96 deletions
+2 -4
View File
@@ -272,9 +272,7 @@
if ($page->prevpageid != $prevpageid) {
// fix it
set_field("lesson_pages", "prevpageid", $prevpageid, "id", $page->id);
if ($CFG->debug) {
echo "<p>***prevpageid of page $page->id set to $prevpageid***";
}
debugging("<p>***prevpageid of page $page->id set to $prevpageid***");
}
if (count($pages) == 1) {
@@ -290,4 +288,4 @@
}
print_footer($course);
?>
?>