MDL-23478 backup - restore blocks (instances an positions)
This commit is contained in:
@@ -35,9 +35,15 @@ class restore_final_task extends restore_task {
|
||||
*/
|
||||
public function build() {
|
||||
|
||||
// Review all the block_position records in backup_ids in order
|
||||
// match them now that all the contexts are created populating DB
|
||||
// as needed. Only if we are restoring blocks.
|
||||
if ($this->get_setting_value('blocks')) {
|
||||
$this->add_step(new restore_review_pending_block_positions('review_block_positions'));
|
||||
}
|
||||
|
||||
// TODO: Gradebook
|
||||
// TODO: interlinks
|
||||
// TODO: Apply all the block_positions accumulated along the process
|
||||
|
||||
// Clean the temp dir (conditionally) and drop temp table
|
||||
$this->add_step(new restore_drop_and_clean_temp_stuff('drop_and_clean_temp_stuff'));
|
||||
|
||||
Reference in New Issue
Block a user