//user_course_creators and user_admins
if (!empty($info->users)) {
// Grab mnethosts keyed by wwwroot, to map to id
- $mnethosts = get_records('mnethost', '', '',
+ $mnethosts = get_records('mnet_host', '', '',
'wwwroot', 'wwwroot, id');
$languages = get_list_of_languages();
/*******************************************************************************
************* Restore of Roles and Capabilities happens here ******************
*******************************************************************************/
-
$status = restore_create_roles($restore, $xml_file);
$status = restore_roles_settings($restore, $xml_file);