From: toyomoyo Date: Thu, 8 Mar 2007 06:05:32 +0000 (+0000) Subject: merged fixing a typo X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=f15850f899b7ba7a44b89962a8ff3331833cafaa;p=moodle.git merged fixing a typo --- diff --git a/backup/restorelib.php b/backup/restorelib.php index d817303212..9ce15781e4 100644 --- a/backup/restorelib.php +++ b/backup/restorelib.php @@ -1464,7 +1464,7 @@ //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(); @@ -6281,7 +6281,6 @@ /******************************************************************************* ************* Restore of Roles and Capabilities happens here ****************** *******************************************************************************/ - $status = restore_create_roles($restore, $xml_file); $status = restore_roles_settings($restore, $xml_file);