mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
MDL-21045, MDL-21046 restore - gradebook categories, letters and outcomes are now
restored no matter if user info is enabled or no (as far as they are user-independent) Merged from 19_STABLE
This commit is contained in:
parent
e785b784f1
commit
ead791ddd5
@ -1794,7 +1794,7 @@ define('RESTORE_GROUPS_GROUPINGS', 3);
|
||||
$restoreall = true; // set to false if any grade_item is not selected/restored
|
||||
$importing = !empty($SESSION->restore->importing); // there should not be a way to import old backups, but anyway ;-)
|
||||
|
||||
if ($importing || $restore->users == 2) {
|
||||
if ($importing) {
|
||||
$restoreall = false;
|
||||
|
||||
} else {
|
||||
@ -1985,7 +1985,7 @@ define('RESTORE_GROUPS_GROUPINGS', 3);
|
||||
$restoreall = true; // set to false if any grade_item is not selected/restored or already exist
|
||||
$importing = !empty($SESSION->restore->importing);
|
||||
|
||||
if ($importing || $restore->users == 2) {
|
||||
if ($importing) {
|
||||
$restoreall = false;
|
||||
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user