]> git.mjollnir.org Git - moodle.git/commitdiff
merged fixing a typo
authortoyomoyo <toyomoyo>
Thu, 8 Mar 2007 06:05:32 +0000 (06:05 +0000)
committertoyomoyo <toyomoyo>
Thu, 8 Mar 2007 06:05:32 +0000 (06:05 +0000)
backup/restorelib.php

index d817303212d76d80e06ed10e56ee3e2c04c93b35..9ce15781e47a11ef6f1b31b4f8dfd5c160304fce 100644 (file)
         //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);