Merge branch 'MDL-51707-m28' of https://github.com/micaherne/moodle into MOODLE_28_STABLE

This commit is contained in:
Andrew Nicols
2015-11-02 14:51:49 +08:00
+6
View File
@@ -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 {