MDL-21432 backup - get target on restore

This commit is contained in:
Eloy Lafuente
2010-07-12 22:35:28 +00:00
parent 108ef06708
commit a4e13312bf
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -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());
}
+4
View File
@@ -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();
}
}
/*