From 9933487eca470011cb8c5f553f7134771b3d56ad Mon Sep 17 00:00:00 2001 From: Justus Dieckmann <45795270+justusdieckmann@users.noreply.github.com> Date: Thu, 22 Feb 2024 18:48:21 +0100 Subject: [PATCH] Use $force = false as default in restore_workflow:execute --- classes/local/backup/restore_lifecycle_workflow.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();