MDL-72265 backup: fix checking of override capabilites on restore
Thanks to Peter Dias <[email protected]> for his help with the unit test.
This commit is contained in:
@@ -358,6 +358,15 @@ class backup_controller extends base_controller {
|
||||
return $this->plan;
|
||||
}
|
||||
|
||||
/**
|
||||
* For debug only. Get a simple test display of all the settings.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function debug_display_all_settings_values(): string {
|
||||
return $this->get_plan()->debug_display_all_settings_values();
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the user roles that should be kept in the destination course
|
||||
* for a course copy operation.
|
||||
|
||||
Reference in New Issue
Block a user