Merge branch 'MDL-80061-master' of https://github.com/ssj365/moodle

This commit is contained in:
Huong Nguyen 2024-06-25 09:07:05 +07:00
commit 0e87e8cfc9
No known key found for this signature in database
GPG Key ID: 40D88AB693A3E72A

View File

@ -788,7 +788,7 @@ class recording extends persistent {
if ($dismissedonly) {
mtrace("=> Looking for any recording that has been 'dismissed' in the past " . self::RECORDING_TIME_LIMIT_DAYS
. " days.");
$select = 'status = :status_dismissed AND timecreated > :withindays';
$select = 'status = :status_dismissed AND timemodified > :withindays';
$params['status_dismissed'] = self::RECORDING_STATUS_DISMISSED;
} else {
mtrace("=> Looking for any recording awaiting processing from the past " . self::RECORDING_TIME_LIMIT_DAYS . " days.");