MDL-41754 (1) Progress tracking : moved from backup and restore to core
This commit is contained in:
@@ -38,7 +38,7 @@ class backup_structure_processor extends base_processor {
|
||||
protected $vars; // array of backup::VAR_XXX => helper value pairs to be used by source specifications
|
||||
|
||||
/**
|
||||
* @var core_backup_progress Progress tracker (null if none)
|
||||
* @var \core\progress\base Progress tracker (null if none)
|
||||
*/
|
||||
protected $progress;
|
||||
|
||||
@@ -46,9 +46,9 @@ class backup_structure_processor extends base_processor {
|
||||
* Constructor.
|
||||
*
|
||||
* @param xml_writer $writer XML writer to save data
|
||||
* @param core_backup_progress $progress Progress tracker (optional)
|
||||
* @param c\core\progress\base$progress Progress tracker (optional)
|
||||
*/
|
||||
public function __construct(xml_writer $writer, core_backup_progress $progress = null) {
|
||||
public function __construct(xml_writer $writer, \core\progress\base $progress = null) {
|
||||
$this->writer = $writer;
|
||||
$this->progress = $progress;
|
||||
$this->vars = array();
|
||||
|
||||
Reference in New Issue
Block a user