mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 08:22:07 +02:00
Merge branch 'MDL-60809-master' of git://git.cameron1729.xyz/moodle
This commit is contained in:
commit
f1c9b8de47
@ -68,6 +68,9 @@ class webservice_xmlrpc_client {
|
||||
* @throws moodle_exception
|
||||
*/
|
||||
public function call($functionname, $params = array()) {
|
||||
global $CFG;
|
||||
require_once($CFG->libdir . '/filelib.php');
|
||||
|
||||
if ($this->token) {
|
||||
$this->serverurl->param('wstoken', $this->token);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user