예제 #1
0
 /**
  * Cancels the current restore and redirects the user back to the relevant place
  */
 public function cancel_process()
 {
     // Delete temporary restore course if exists.
     if ($this->controller->get_target() == backup::TARGET_NEW_COURSE) {
         $this->cleanup();
     }
     parent::cancel_process();
 }
예제 #2
0
 /**
  * The backup id from the backup controller
  * @return string
  */
 public final function get_uniqueid()
 {
     return $this->ui->get_uniqueid();
 }