Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

(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.

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

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.

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

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

param: bool $importedrecordings
return: void