Skip to content

Commit

Permalink
v2.1.15: Fixed issue timeout on validation of BBB server while diplay…
Browse files Browse the repository at this point in the history
…ing the activity in Moodle.
  • Loading branch information
jfederico committed Mar 27, 2020
1 parent 81a1f0b commit a8f4c72
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions view.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,17 +118,6 @@
} else {
print_error('view_error_unable_join_student', 'bigbluebuttonbn', $CFG->wwwroot . '/course/view.php?id=' . $bigbluebuttonbn->course);
}
} else {
$xml = bigbluebuttonbn_wrap_xml_load_file(bigbluebuttonbn_getMeetingsURL($bbbsession['endpoint'], $bbbsession['shared_secret']));
if (!isset($xml) || !isset($xml->returncode) || $xml->returncode == 'FAILED') { // The shared secret is wrong
if ($bbbsession['administrator']) {
print_error('view_error_unable_join', 'bigbluebuttonbn', $CFG->wwwroot . '/admin/settings.php?section=modsettingbigbluebuttonbn');
} else if ($bbbsession['moderator']) {
print_error('view_error_unable_join_teacher', 'bigbluebuttonbn', $CFG->wwwroot . '/course/view.php?id=' . $bigbluebuttonbn->course);
} else {
print_error('view_error_unable_join_student', 'bigbluebuttonbn', $CFG->wwwroot . '/course/view.php?id=' . $bigbluebuttonbn->course);
}
}
}

// Mark viewed by user (if required).
Expand Down

0 comments on commit a8f4c72

Please sign in to comment.