forked from moodle/moodle
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDL-77625 question restore: fix pre-parsing of questions
Restore of categories and questions happens in several phases. First, the file is scanned for which questions and categories it contains, to work out if these are new questions which need to be restored, or if they already exist in the database in a place that can be used. That code had not been updated to copy with the Moodle 4.0 versionning changes, so it is updated here (while still keeping the code to cope with the old backup format.)
- Loading branch information
Showing
2 changed files
with
24 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters