mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
Merge branch 'MDL-81862' of https://github.com/paulholden/moodle
This commit is contained in:
commit
571d3d8821
@ -55,7 +55,7 @@ class backup_assign_activity_structure_step extends backup_activity_structure_st
|
||||
|
||||
/**
|
||||
* Define the structure for the assign activity
|
||||
* @return void
|
||||
* @return backup_nested_element
|
||||
*/
|
||||
protected function define_structure() {
|
||||
|
||||
@ -205,6 +205,8 @@ class backup_assign_activity_structure_step extends backup_activity_structure_st
|
||||
// These file areas don't have an itemid.
|
||||
$assign->annotate_files('mod_assign', 'intro', null);
|
||||
$assign->annotate_files('mod_assign', 'introattachment', null);
|
||||
$assign->annotate_files('mod_assign', 'activityattachment', null);
|
||||
|
||||
$this->annotate_plugin_config_files($assign, 'assignsubmission');
|
||||
$this->annotate_plugin_config_files($assign, 'assignfeedback');
|
||||
|
||||
|
@ -421,11 +421,11 @@ class restore_assign_activity_structure_step extends restore_activity_structure_
|
||||
|
||||
/**
|
||||
* Once the database tables have been fully restored, restore the files
|
||||
* @return void
|
||||
*/
|
||||
protected function after_execute() {
|
||||
$this->add_related_files('mod_assign', 'intro', null);
|
||||
$this->add_related_files('mod_assign', 'introattachment', null);
|
||||
$this->add_related_files('mod_assign', 'activityattachment', null);
|
||||
|
||||
$this->add_plugin_config_files('assignsubmission');
|
||||
$this->add_plugin_config_files('assignfeedback');
|
||||
|
Loading…
x
Reference in New Issue
Block a user