Whoops, forgot to set the cache :-) MDL-8149
This commit is contained in:
@@ -775,6 +775,10 @@ ORDER BY $sort");
|
||||
}
|
||||
}
|
||||
|
||||
if (!empty($USER->id) && ($USER->id == $userid)) {
|
||||
$USER->mycourses = $mycourses;
|
||||
}
|
||||
|
||||
return $mycourses;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user