Merge branch 'MDL-60809-master' of git://git.cameron1729.xyz/moodle

This commit is contained in:
Damyon Wiese 2017-11-20 15:29:53 +08:00
commit f1c9b8de47

View File

@ -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);
}