Skip to content

Commit

Permalink
Fixed the code checker issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
abinesh-lmsace committed Jun 15, 2024
1 parent 20117e6 commit 34cd986
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions backup/moodle2/restore_format_designer_plugin.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -177,11 +177,13 @@ protected function after_restore_section() {
}

// Restore the courseheaderbgimage.
$this->add_related_files('local_designer', 'courseheaderbgimage', null, null, $this->step->get_task()->get_old_courseid());
$this->add_related_files('local_designer', 'courseheaderbgimage', null, null,
$this->step->get_task()->get_old_courseid());
// Restore the coursebgimage.
$this->add_related_files('local_designer', 'coursebgimage', null, null, $this->step->get_task()->get_old_courseid());
// Restore the additionalcontent.
$this->add_related_files('local_designer', 'additionalcontent', null, null, $this->step->get_task()->get_old_courseid());
$this->add_related_files('local_designer', 'additionalcontent', null, null,
$this->step->get_task()->get_old_courseid());
// Restore the prerequisiteinfo.
$this->add_related_files('local_designer', 'prerequisiteinfo', null, null, $this->step->get_task()->get_old_courseid());
}
Expand Down

0 comments on commit 34cd986

Please sign in to comment.