mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-17009 Restore of mnet users: Fix incorrectly named MNET_EXTERNALUSERS. Merged from 19_STABLE
This commit is contained in:
parent
04c5310674
commit
b0126ac9da
@ -301,8 +301,8 @@
|
||||
$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 {
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user