MDL-23479 missed check for intro files.

This commit is contained in:
Dan Marsden 2010-07-28 01:57:12 +00:00
parent 86edee3543
commit 6751fcbd80
3 changed files with 13 additions and 0 deletions

View file

@ -53,4 +53,9 @@ class restore_label_activity_structure_step extends restore_activity_structure_s
$this->apply_activity_instance($newitemid);
}
protected function after_execute() {
// Add label related files, no need to match by itemname (just internally handled context)
$this->add_related_files('mod_label', 'intro', null);
}
}

View file

@ -53,4 +53,8 @@ class restore_page_activity_structure_step extends restore_activity_structure_st
$this->apply_activity_instance($newitemid);
}
protected function after_execute() {
// Add page related files, no need to match by itemname (just internally handled context)
$this->add_related_files('mod_page', 'intro', null);
}
}

View file

@ -53,4 +53,8 @@ class restore_url_activity_structure_step extends restore_activity_structure_ste
$this->apply_activity_instance($newitemid);
}
protected function after_execute() {
// Add url related files, no need to match by itemname (just internally handled context)
$this->add_related_files('mod_url', 'intro', null);
}
}