-
Improvement
-
Resolution: Fixed
-
Minor
-
3.8.3, 3.9, 3.10
-
MOODLE_310_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE
-
MOODLE_311_STABLE
-
MDL-69202_master -
Easy
-
When using a restore class method for a plugin (<plugintype>\<pluginname>\backup\moodle2\restore_<plugintype>_<pluginname>_plugin.class.php), the task contains the oldmoduleid.
The information can be seen by $this->task->get_info();
But you can not access the oldmoduleid direct, as it's protected.
Therefore we should add here the missing getter method to access this variable if needed.