Skip to content

Commit

Permalink
Fixing 1.5->1.7 upgrade bug (get_courses was used unnecessarily in up…
Browse files Browse the repository at this point in the history
…grade process, and relies on roles)

Author: Andrew Walbran <andrew.walbran@catalyst.net.nz>
  • Loading branch information
martinlanghoff committed Feb 28, 2007
1 parent da0dcae commit 748e20f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/oacleanup.php
Expand Up @@ -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) {
Expand Down

0 comments on commit 748e20f

Please sign in to comment.