Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.8.3, 3.9, 3.10
Description
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.