moodle/lib/ajax
Damyon Wiese 56fa860ead MDL-53772 externallib: Fix busted webservices context handling
Fix:
$PAGE->context must be reset when calling validate_context

Improve:
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.
2016-04-14 13:58:23 +08:00
..
ajaxlib.php MDL-44061 Ajax: Log whitespace issues to the server error log 2014-03-05 16:34:35 +08:00
blocks.php MDL-47450 blocks: Blocks can be moved on the site profile 2015-08-07 15:08:47 +08:00
getnavbranch.php MDL-52774 ajax: Require authentication when getting nav branch 2016-03-08 00:39:45 +01:00
getsiteadminbranch.php MDL-43785 lib: Improve session timeout warnings 2015-07-27 14:29:47 +08:00
service-nologin.php MDL-50783 Ajax: Configure how to call a webservice through db/service.php 2015-09-14 15:10:21 +08:00
service.php MDL-53772 externallib: Fix busted webservices context handling 2016-04-14 13:58:23 +08:00
setuserpref.php MDL-30988 Fixed phpdocs during integration review 2012-02-21 12:01:00 +13:00