Details
Description
Right now, when a course is restored... no matter of the activities selected to be restored, the whole <MODULES> part of the backup file is parsed and all modules are xmlized.
This is an excess of processing. Try to optimise it by being more selective... ciao ![]()
Resolving as fixed.
Now, activities that have been not selected to be restored, aren't processed anymore avoiding previous excess of process, iow, speed gain.
Note that, as side effect, this causes that in some course restores breaking previously, now it's possible to workaround the problem by restoring over the same course multiple times, selecting different activities on each restore until complete the whole set (this can help to MDL-15489 until proper fix is committed for it).
Ciao