| Línea 88... | Línea 88... | 
          
            | 88 |      * @param \core\progress\base $progress Optional progress monitor
 | 88 |      * @param \core\progress\base $progress Optional progress monitor
 | 
          
            | 89 |      * @param \stdClass $copydata Course copy data, required when in MODE_COPY
 | 89 |      * @param \stdClass $copydata Course copy data, required when in MODE_COPY
 | 
          
            | 90 |      * @param bool $releasesession Should release the session? backup::RELEASESESSION_YES or backup::RELEASESESSION_NO
 | 90 |      * @param bool $releasesession Should release the session? backup::RELEASESESSION_YES or backup::RELEASESESSION_NO
 | 
          
            | 91 |      */
 | 91 |      */
 | 
          
            | 92 |     public function __construct($tempdir, $courseid, $interactive, $mode, $userid, $target,
 | 92 |     public function __construct($tempdir, $courseid, $interactive, $mode, $userid, $target,
 | 
          
            | 93 |             \core\progress\base $progress = null, $releasesession = backup::RELEASESESSION_NO, ?\stdClass $copydata = null) {
 | 93 |             ?\core\progress\base $progress = null, $releasesession = backup::RELEASESESSION_NO, ?\stdClass $copydata = null) {
 | 
          
            | Línea 94... | Línea 94... | 
          
            | 94 |  
 | 94 |  
 | 
          
            | 95 |         if ($mode == backup::MODE_COPY && is_null($copydata)) {
 | 95 |         if ($mode == backup::MODE_COPY && is_null($copydata)) {
 | 
          
            | 96 |             throw new restore_controller_exception('cannot_instantiate_missing_copydata');
 | 96 |             throw new restore_controller_exception('cannot_instantiate_missing_copydata');
 |