• Damyon Wiese's avatar
    MDL-53772 libraries: More context fixes · e02e7f5a
    Damyon Wiese authored and David Monllaó's avatar David Monllaó committed
    1. Improve upgrade note
    2. Don't abuse $PAGE to get the current course/cm
    3. Use validate_context, never $PAGE->set_context()
    4. Reset current coursemodule in validate_context().
    5. Respect moodlepageclass when calling an external function.
    e02e7f5a