Skip to content
  • Jake Dallimore's avatar
    MDL-59826 output: make context_header() aware of page context. · 788ea5c8
    Jake Dallimore authored
    There are times, such as when viewing a user profile within a course,
    when user_can_view_profile() should be passed a course to force it to
    restrict its capability checks to only the supplied course. This change
    makes sure that core_renderer->context_header() calls this correctly.
    788ea5c8