MDL-21432 backup - get target on restore
This commit is contained in:
@@ -71,6 +71,10 @@ class restore_plan extends base_plan implements loggable {
|
||||
return $this->controller->get_info();
|
||||
}
|
||||
|
||||
public function get_target() {
|
||||
return $this->controller->get_target();
|
||||
}
|
||||
|
||||
public function log($message, $level, $a = null, $depth = null, $display = false) {
|
||||
backup_helper::log($message, $level, $a, $depth, $display, $this->get_logger());
|
||||
}
|
||||
|
||||
@@ -46,6 +46,10 @@ abstract class restore_task extends base_task {
|
||||
public function get_info() {
|
||||
return $this->plan->get_info();
|
||||
}
|
||||
|
||||
public function get_target() {
|
||||
return $this->plan->get_target();
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user