Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit 748e20f0069b4cd8536e2bf6da09068d071c18b8 1 parent da0dcae
martinlanghoff authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  admin/oacleanup.php
View
2  admin/oacleanup.php
@@ -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) {
Please sign in to comment.
Something went wrong with that request. Please try again.