Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.0.x will end 8 May 2023 (12 months).
  • Bug fixes for security issues in 4.0.x will end 13 November 2023 (18 months).
  • PHP version: minimum PHP 7.3.0 Note: the minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is also supported.

(no description)

File Size: 203 lines (8 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

upgrade_recordings_task:: (4 methods):
  execute()
  process_bigbluebuttonbn_logs()
  get_sql_query_for_logs()
  schedule_upgrade_per_meeting()


Class: upgrade_recordings_task  - X-Ref

Class containing the scheduled task for converting recordings for the BigBlueButton version 2.5 in Moodle 4.0.

execute()   X-Ref
Run the migration task.


process_bigbluebuttonbn_logs(string $meetingid, bool $isimported)   X-Ref
Process all bigbluebuttonbn logs looking for entries which should be converted to meetings.

return: bool Whether any more logs are waiting to be processed
param: string $meetingid
param: bool $isimported

get_sql_query_for_logs(string $meetingid, bool $isimported)   X-Ref
Get the query (records_select) for the logs to convert.

Each log is ordered by timecreated.

return: array
param: string $meetingid
param: bool $isimported

schedule_upgrade_per_meeting($importedrecordings = false)   X-Ref
Schedule all upgrading tasks.

return: void
param: bool $importedrecordings