@@ -36,11 +36,11 @@ |
||
| 36 | 36 | |
| 37 | 37 | // Define each element separated |
| 38 | 38 | $bigbluebuttonbn = new backup_nested_element('bigbluebuttonbn', array('id'), array( |
| 39 | - 'course', 'name', 'intro', 'introformat', 'meetingid', |
|
| 40 | - 'moderatorpass', 'viewerpass', 'wait', 'record', 'tagging', |
|
| 41 | - 'welcome', 'voicebridge', 'openingtime', 'closingtime', |
|
| 42 | - 'timecreated', 'timemodified', 'presentation', 'participants', |
|
| 43 | - 'userlimit')); |
|
| 39 | + 'course', 'name', 'intro', 'introformat', 'meetingid', |
|
| 40 | + 'moderatorpass', 'viewerpass', 'wait', 'record', 'tagging', |
|
| 41 | + 'welcome', 'voicebridge', 'openingtime', 'closingtime', |
|
| 42 | + 'timecreated', 'timemodified', 'presentation', 'participants', |
|
| 43 | + 'userlimit')); |
|
| 44 | 44 | |
| 45 | 45 | $logs = new backup_nested_element('logs'); |
| 46 | 46 | |
@@ -49,7 +49,7 @@ |
||
| 49 | 49 | switch (strtolower($action)) { |
| 50 | 50 | case 'logout': |
| 51 | 51 | if (isset($errors) && $errors != '') { |
| 52 | - bigbluebutton_bbb_view_errors($errors, $id); |
|
| 52 | + bigbluebutton_bbb_view_errors($errors, $id); |
|
| 53 | 53 | |
| 54 | 54 | } else if ( isset($bbbsession) && !is_null($bbbsession) ) { |
| 55 | 55 | /// Moodle event logger: Create an event for meeting left |
@@ -53,9 +53,9 @@ discard block |
||
| 53 | 53 | $returnid = $DB->insert_record('bigbluebuttonbn_logs', $log); |
| 54 | 54 | } |
| 55 | 55 | |
| 56 | - //////////////////////////// |
|
| 56 | + //////////////////////////// |
|
| 57 | 57 | // BigBlueButton API Calls // |
| 58 | - //////////////////////////// |
|
| 58 | + //////////////////////////// |
|
| 59 | 59 | function bigbluebuttonbn_getJoinURL( $meetingID, $userName, $PW, $SALT, $URL, $logoutURL ) { |
| 60 | 60 | $url_join = $URL."api/join?"; |
| 61 | 61 | $params = 'meetingID='.urlencode($meetingID).'&fullName='.urlencode($userName).'&password='.urlencode($PW).'&logoutURL='.urlencode($logoutURL); |
@@ -1590,8 +1590,8 @@ discard block |
||
| 1590 | 1590 | // Fetch only those related to the $courseID and $bigbluebuttonbnID requested |
| 1591 | 1591 | $recordings_imported = $DB->get_records('bigbluebuttonbn_logs', array('courseid' => $courseID, 'bigbluebuttonbnid' => $bigbluebuttonbnID, 'log' => BIGBLUEBUTTONBN_LOG_EVENT_IMPORT)); |
| 1592 | 1592 | } else { |
| 1593 | - // Fetch all the ones corresponding to the $courseID requested |
|
| 1594 | - $recordings_imported = $DB->get_records('bigbluebuttonbn_logs', array('courseid' => $courseID, 'log' => BIGBLUEBUTTONBN_LOG_EVENT_IMPORT)); |
|
| 1593 | + // Fetch all the ones corresponding to the $courseID requested |
|
| 1594 | + $recordings_imported = $DB->get_records('bigbluebuttonbn_logs', array('courseid' => $courseID, 'log' => BIGBLUEBUTTONBN_LOG_EVENT_IMPORT)); |
|
| 1595 | 1595 | } |
| 1596 | 1596 | return $recordings_imported; |
| 1597 | 1597 | } |