Commit 1e0a54af authored by Donal McMullan's avatar Donal McMullan
Browse files

Rename 'shortname' to 'name' and switch literal 'moodle' for $application

parent e932d9e1
......@@ -65,7 +65,7 @@ function get_public_key($uri, $application=null) {
$application = 'moodle';
}
$xmlrpcserverurl = get_field('application', 'xmlrpcserverurl', 'shortname', 'moodle');
$xmlrpcserverurl = get_field('application', 'xmlrpcserverurl', 'name', $application);
if (empty($xmlrpcserverurl)) {
throw new XmlrpcClientException('Unknown application');
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment