]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-17009 Restore of mnet users: Fix incorrectly named MNET_EXTERNALUSERS. Merged...
authorstronk7 <stronk7>
Thu, 11 Dec 2008 16:40:09 +0000 (16:40 +0000)
committerstronk7 <stronk7>
Thu, 11 Dec 2008 16:40:09 +0000 (16:40 +0000)
backup/restore_check.html
backup/restorelib.php

index 2cac66f2bdce66dd8fcce7b7923a11d46c0b7f6b..0a0eca910a0ff33ea50754d30d01d0e56ee13a36 100644 (file)
             $hidden["id"]                 =  $id;
             print_string('longtimewarning','admin');
 
-            if ($restore->users && !empty($info->mnet_externalusers)
-                && $info->mnet_externalusers === 'true') {
+            if ($restore->users && !empty($info->mnet_remoteusers)
+                && $info->mnet_remoteusers === 'true') {
                 if ($info->original_wwwroot === $CFG->wwwroot) {
                     print '<p>'.get_string('mnetrestore_extusers','admin').'</p>';
                 } else {
index e974ab4ca43f606ebbf532ee7cc3cf85fd14005e..ba6ebd4194082a37eff7180708bf18c062166bd3 100644 (file)
@@ -4966,8 +4966,8 @@ define('RESTORE_GROUPS_GROUPINGS', 3);
                         case "ORIGINAL_WWWROOT":
                             $this->info->original_wwwroot = $this->getContents();
                             break;
-                        case "MNET_EXTERNALUSERS":
-                            $this->info->mnet_externalusers = $this->getContents();
+                        case "MNET_REMOTEUSERS":
+                            $this->info->mnet_remoteusers = $this->getContents();
                             break;
                     }
                 }