From: mattc-catalyst Date: Tue, 30 Oct 2007 20:46:18 +0000 (+0000) Subject: Author: Matt Clarkson X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=6f3dc679c6a2ed59d30c17d91e72c4796103afb4;p=moodle.git Author: Matt Clarkson --- diff --git a/enrol/imsenterprise/enrol.php b/enrol/imsenterprise/enrol.php index 416073d559..3d364bdf90 100644 --- a/enrol/imsenterprise/enrol.php +++ b/enrol/imsenterprise/enrol.php @@ -301,6 +301,7 @@ function cron() { } // End of while-tags-are-detected } // end of while loop fclose($fh); + fix_course_sortorder(); } // end of if(file_open) for first pass /* @@ -555,7 +556,6 @@ function process_group_tag($tagcontents){ $section->section = 0; $section->id = insert_record("course_sections", $section); - fix_course_sortorder(); add_to_log(SITEID, "course", "new", "view.php?id=$course->id", "$course->fullname (ID $course->id)"); $this->log_line("Created course $coursecode in Moodle (Moodle ID is $course->id)");