Merge branch 'MDL-60809-33' of git://git.cameron1729.xyz/moodle into MOODLE_33_STABLE

This commit is contained in:
Damyon Wiese
2017-11-20 15:32:05 +08:00
+3
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);
}