Commit 760e52d8 authored by Nigel McNie's avatar Nigel McNie

Don't send anything in the 'myhosts' data. Mahara doesn't have anything useful to send here.

Moodle uses it only in the course listing block, to say '4 courses from [othermoodle]'. Mahara doesn't have any courses.
parent 238f7d40
......@@ -253,7 +253,6 @@ function user_authorise($token, $useragent) {
// Todo: push application name to list of hosts... update Moodle block to display more info, maybe in 'Other' list
$userdata['myhosts'] = array();
$userdata['myhosts'][] = array('name'=> $SITE->shortname, 'url' => get_config('wwwroot'), 'count' => 0);
return $userdata;
}
......
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