Permalink
Browse files

Fixing 1.5->1.7 upgrade bug (get_courses was used unnecessarily in up…

…grade process, and relies on roles)

Author: Andrew Walbran <andrew.walbran@catalyst.net.nz>
  • Loading branch information...
1 parent 6351360 commit 9920530563ab44e439032d319b47e9f17187d6a2 martinlanghoff committed Feb 28, 2007
Showing with 1 addition and 1 deletion.
  1. +1 −1 admin/oacleanup.php
View
@@ -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) {

0 comments on commit 9920530

Please sign in to comment.