backup MDL-22140 Added conf settings to control the default general backup settings

This commit is contained in:
Sam Hemelryk
2010-06-17 08:57:00 +00:00
parent d32f6eaba8
commit 61ebef8f6e
14 changed files with 300 additions and 21 deletions
@@ -236,6 +236,9 @@ class backup_controller extends backup implements loggable {
return $this->executiontime;
}
/**
* @return backup_plan
*/
public function get_plan() {
return $this->plan;
}
@@ -292,6 +295,7 @@ class backup_controller extends backup implements loggable {
protected function apply_defaults() {
$this->log('applying plan defaults', backup::LOG_DEBUG);
backup_controller_dbops::apply_general_config_defaults($this);
$this->set_status(backup::STATUS_CONFIGURED);
}
}