mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
Merge branch 'MDL-51707-m' of https://github.com/micaherne/moodle
This commit is contained in:
commit
693ed49c10
1 changed files with 6 additions and 0 deletions
|
@ -491,6 +491,12 @@ class manager {
|
|||
}
|
||||
}
|
||||
|
||||
// Make sure the task data is unchanged.
|
||||
if (!$DB->record_exists('task_scheduled', (array) $record)) {
|
||||
$lock->release();
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!$task->is_blocking()) {
|
||||
$cronlock->release();
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue