mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 17:36:38 +02:00
MDL-24817 backup - added support for decode contents in plugins (and qtypes)
This commit is contained in:
parent
b5e58c1831
commit
9f68f2d5a6
12 changed files with 119 additions and 193 deletions
|
@ -348,8 +348,11 @@ class restore_gradebook_structure_step extends restore_structure_step {
|
|||
class restore_decode_interlinks extends restore_execution_step {
|
||||
|
||||
protected function define_execution() {
|
||||
// Just that
|
||||
$this->task->get_decoder()->execute();
|
||||
// Get the decoder (from the plan)
|
||||
$decoder = $this->task->get_decoder();
|
||||
restore_decode_processor::register_link_decoders($decoder); // Add decoder contents and rules
|
||||
// And launch it, everything will be processed
|
||||
$decoder->execute();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue