Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDL-40436 block_course_list: Fix bad context resolution
We were trying to get the course context of a remote course from a completely unrelated ID. It would sometimes work if the ID was matching the one of a local course. In other places we are not trying to find a context for the remote course, we simply use the $PAGE context in format_string. So the usage of the context has been removed here too.
- Loading branch information