From 6f3dc679c6a2ed59d30c17d91e72c4796103afb4 Mon Sep 17 00:00:00 2001 From: mattc-catalyst Date: Tue, 30 Oct 2007 20:46:18 +0000 Subject: [PATCH] Author: Matt Clarkson --- enrol/imsenterprise/enrol.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)"); -- 2.39.5