Merge from MOODLE_14_STABLE: moodle--eduforge--1.3.3--patch-201 - optimized calls to get_courses() to retrieve only required fields (martinlanghoff)
This commit is contained in:
+1
-1
@@ -168,7 +168,7 @@
|
||||
$movecourse = NULL;
|
||||
$swapcourse = NULL;
|
||||
|
||||
$courses = get_courses($category->id);
|
||||
$courses = get_courses($category->id,'c.sortorder ASC', 'c.id,c.sortorder');
|
||||
|
||||
if (isset($moveup)) {
|
||||
if ($movecourse = get_record("course", "id", $moveup)) {
|
||||
|
||||
Reference in New Issue
Block a user