Skip to content

Commit

Permalink
Upgrade: Make the scheduled task non-blocking as this has been deprec…
Browse files Browse the repository at this point in the history
…ated in Moodle core.
  • Loading branch information
abias committed Aug 22, 2024
1 parent d0f3c11 commit 9dc93ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Changes

### Unreleased

* 2024-08-22 - Upgrade: Make the scheduled task non-blocking as this has been deprecated in Moodle core.
* 2024-08-22 - Upgrade: Replace deprecated Behat steps and fix a Behat scenario which broke on 4.4.
* 2024-08-20 - Prepare compatibility for Moodle 4.4.

Expand Down
2 changes: 1 addition & 1 deletion db/tasks.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
$tasks = [
[
'classname' => 'local_sandbox\task\restore_courses',
'blocking' => 1,
'blocking' => 0,
'minute' => '0',
'hour' => '1',
'day' => '*',
Expand Down

0 comments on commit 9dc93ba

Please sign in to comment.