Merge branch 'MDL-78165-master' of https://github.com/andrewnicols/moodle

This commit is contained in:
Sara Arjona 2023-06-15 10:16:57 +02:00
commit 750d1c1130

View file

@ -105,7 +105,7 @@ class view_page implements renderable, templatable {
$templatedata->recordingwarnings = []; $templatedata->recordingwarnings = [];
$check = new cronrunning(); $check = new cronrunning();
$result = $check->get_result(); $result = $check->get_result();
if ($result->status != result::OK && $this->instance->is_moderator()) { if ($result->get_status() != result::OK && $this->instance->is_moderator()) {
$templatedata->recordingwarnings[] = (new notification( $templatedata->recordingwarnings[] = (new notification(
get_string('view_message_cron_disabled', 'mod_bigbluebuttonbn', get_string('view_message_cron_disabled', 'mod_bigbluebuttonbn',
$result->get_summary()), $result->get_summary()),