]> git.mjollnir.org Git - moodle.git/commitdiff
mnet: remove debugging statements
authormartinlanghoff <martinlanghoff>
Mon, 22 Jan 2007 01:31:15 +0000 (01:31 +0000)
committermartinlanghoff <martinlanghoff>
Mon, 22 Jan 2007 01:31:15 +0000 (01:31 +0000)
course/lib.php

index 670fab81a3b0031ee05f1db67f303e31e70dff3f..4f4e0fabeeac26ae98aa7ff8890aee9ed4e587a5 100644 (file)
@@ -1736,7 +1736,6 @@ function print_courses($category, $width="100%", $hidesitecourse = false) {
     global $CFG;
 
     if (empty($category)) {
-        error_log(1);
         $categories = get_categories(0);  // Parent = 0   ie top-level categories only
         if (count($categories) == 1) {
             $category   = array_shift($categories);
@@ -1746,7 +1745,6 @@ function print_courses($category, $width="100%", $hidesitecourse = false) {
         }
         unset($categories);
     } else {
-error_log(2);
         $categories = get_categories($category->id);  // sub categories
         $courses    = get_courses($category->id, 'c.sortorder ASC', 'c.id,c.category,c.sortorder,c.visible,c.fullname,c.shortname,c.password,c.summary,c.teacher,c.cost,c.currency,c.enrol,c.guest');
     }