Skip to content
  • Damyon Wiese's avatar
    MDL-53772 externallib: Fix busted webservices context handling · 56fa860e
    Damyon Wiese authored
    $PAGE->context must be reset when calling validate_context
    Provide wrapper for calling an external function
    The wrapper correctly checks the function parameters and return type against
    the description of the external function, and stores the PAGE and COURSE global
    state variables, restoring them before the function returns.
    Fix: buggy unit tests.
    These tests are expecting debugging from a bug that was fixed, and calling web
    service functions with no user or session.