mirrored from git://git.moodle.org/moodle.git
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
MDL-27233 move the restorer enrol/ra creation to the very beginning o…
…f the restore process Some early steps in restore are using capability checks to decide how to restore some information. But at that stage, if the course contents have been removed and the user had perms at course level only (usually teacher) the process can fail because some content is not restoreable due to the lack of permissions. Moving the restorer step to the beginning really helps is those situations and it does not hurt at all. Also, fixed one notice detected when testing this.
- Loading branch information
Showing
3 changed files
with
5 additions
and
4 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
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