diff --git a/classes/local/backup/restore_lifecycle_workflow.php b/classes/local/backup/restore_lifecycle_workflow.php index bbd79857..5e9b1fe9 100644 --- a/classes/local/backup/restore_lifecycle_workflow.php +++ b/classes/local/backup/restore_lifecycle_workflow.php @@ -71,7 +71,7 @@ public function __construct($xmldata) { * @throws \coding_exception * @throws \moodle_exception */ - public function execute(bool $force) { + public function execute(bool $force = false) { $this->reader->read(); $this->load_workflow();