Ignore:
Timestamp:
May 2, 2016, 12:09:23 PM (3 years ago)
Author:
jrpelegrina
Message:

Updated to moodle 3.0.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • moodle/trunk/fuentes/backup/moodle2/restore_final_task.class.php

    r136 r1331  
    6262        }
    6363
    64         // Course completion, executed conditionally if restoring to new course
    65         if ($this->get_target() !== backup::TARGET_CURRENT_ADDING &&
    66             $this->get_target() !== backup::TARGET_EXISTING_ADDING) {
    67             $this->add_step(new restore_course_completion_structure_step('course_completion', 'completion.xml'));
    68         }
     64        // Course completion.
     65        $this->add_step(new restore_course_completion_structure_step('course_completion', 'completion.xml'));
    6966
    7067        // Conditionally restore course badges.
     
    8683
    8784        // Restore course logs (conditionally). They are restored here because we need all
    88         // the activities to be already restored
     85        // the activities to be already restored.
    8986        if ($this->get_setting_value('logs')) {
     87            // Legacy logs.
    9088            $this->add_step(new restore_course_logs_structure_step('course_logs', 'course/logs.xml'));
     89            // New log stores.
     90            $this->add_step(new restore_course_logstores_structure_step('course_logstores', 'course/logstores.xml'));
    9191        }
    9292
Note: See TracChangeset for help on using the changeset viewer.