Skip to content

Commit

Permalink
Use $force = false as default in restore_workflow:execute
Browse files Browse the repository at this point in the history
  • Loading branch information
justusdieckmann authored Feb 22, 2024
1 parent 41d23fc commit 9933487
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/local/backup/restore_lifecycle_workflow.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 9933487

Please sign in to comment.