mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
Whoops, forgot to set the cache :-) MDL-8149
This commit is contained in:
parent
8e82745aed
commit
1cbf4fccc4
1 changed files with 4 additions and 0 deletions
|
@ -775,6 +775,10 @@ ORDER BY $sort");
|
|||
}
|
||||
}
|
||||
|
||||
if (!empty($USER->id) && ($USER->id == $userid)) {
|
||||
$USER->mycourses = $mycourses;
|
||||
}
|
||||
|
||||
return $mycourses;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue