Fixing 1.5->1.7 upgrade bug (get_courses was used unnecessarily in upgrade process, and relies on roles)

Author: Andrew Walbran <[email protected]>
This commit is contained in:
martinlanghoff
2007-02-28 00:06:59 +00:00
parent bf315e02c3
commit abb6fc0dda
+1 -1
View File
@@ -46,7 +46,7 @@ function online_assignment_cleanup($output=false) {
/// get a list of all courses on this site
$courses = get_courses();
$courses = get_records('course');
/// cycle through each course
foreach ($courses as $course) {