From f15850f899b7ba7a44b89962a8ff3331833cafaa Mon Sep 17 00:00:00 2001 From: toyomoyo Date: Thu, 8 Mar 2007 06:05:32 +0000 Subject: [PATCH] merged fixing a typo --- backup/restorelib.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); -- 2.39.5