MDL-47850 message_airnotifier: Fixed airnotifier web service url

This commit is contained in:
Rajesh Taneja 2014-10-28 13:24:03 +08:00
parent c5258dfa04
commit b159589d9b

View File

@ -92,7 +92,7 @@ class message_output_airnotifier extends message_output {
}
// Sending the message to the device.
$serverurl = $CFG->airnotifierurl . ':' . $CFG->airnotifierport . '/api/v2/push';
$serverurl = $CFG->airnotifierurl . ':' . $CFG->airnotifierport . '/api/v2/push/';
$header = array('Accept: application/json', 'X-AN-APP-NAME: ' . $CFG->airnotifierappname,
'X-AN-APP-KEY: ' . $CFG->airnotifieraccesskey);
$curl = new curl;