@@ -43,8 +43,8 @@ discard block |
||
| 43 | 43 | // The endpoints for recording_ready and meeting_events callbacks must be moved to services (CONTRIB-7440). |
| 44 | 44 | // But in order to support the transition, requests other than the callbacks are redirected to bbb_ajax.php. |
| 45 | 45 | if ($params['action'] != 'recording_ready' && $params['action'] != 'meeting_events') { |
| 46 | - $url = $CFG->wwwroot . '/mod/bigbluebuttonbn/bbb_ajax.php?' . http_build_query($params, '', '&'); |
|
| 47 | - header("Location: " . $url); |
|
| 46 | + $url = $CFG->wwwroot.'/mod/bigbluebuttonbn/bbb_ajax.php?'.http_build_query($params, '', '&'); |
|
| 47 | + header("Location: ".$url); |
|
| 48 | 48 | exit; |
| 49 | 49 | } |
| 50 | 50 | |
@@ -71,7 +71,7 @@ discard block |
||
| 71 | 71 | bigbluebuttonbn_broker_meeting_events($bigbluebuttonbn); |
| 72 | 72 | return; |
| 73 | 73 | } |
| 74 | - header('HTTP/1.0 400 Bad request. The action '. $a . ' doesn\'t exist'); |
|
| 74 | + header('HTTP/1.0 400 Bad request. The action '.$a.' doesn\'t exist'); |
|
| 75 | 75 | } catch (Exception $e) { |
| 76 | 76 | header('HTTP/1.0 500 Internal Server Error. '.$e->getMessage()); |
| 77 | 77 | } |
@@ -309,10 +309,10 @@ discard block |
||
| 309 | 309 | */ |
| 310 | 310 | function bigbluebuttonbn_bbb_view_create_meeting_data(&$bbbsession) { |
| 311 | 311 | $data = ['meetingID' => $bbbsession['meetingid'], |
| 312 | - 'name' => bigbluebuttonbn_html2text($bbbsession['meetingname'], 64), |
|
| 313 | - 'attendeePW' => $bbbsession['viewerPW'], |
|
| 314 | - 'moderatorPW' => $bbbsession['modPW'], |
|
| 315 | - 'logoutURL' => $bbbsession['logoutURL'], |
|
| 312 | + 'name' => bigbluebuttonbn_html2text($bbbsession['meetingname'], 64), |
|
| 313 | + 'attendeePW' => $bbbsession['viewerPW'], |
|
| 314 | + 'moderatorPW' => $bbbsession['modPW'], |
|
| 315 | + 'logoutURL' => $bbbsession['logoutURL'], |
|
| 316 | 316 | ]; |
| 317 | 317 | $data['record'] = bigbluebuttonbn_bbb_view_create_meeting_data_record($bbbsession['record']); |
| 318 | 318 | // Check if auto_start_record is enable. |
@@ -334,7 +334,7 @@ discard block |
||
| 334 | 334 | '%duration%', |
| 335 | 335 | (string) $durationtime, |
| 336 | 336 | get_string('bbbdurationwarning', 'bigbluebuttonbn') |
| 337 | - ); |
|
| 337 | + ); |
|
| 338 | 338 | } |
| 339 | 339 | $voicebridge = intval($bbbsession['voicebridge']); |
| 340 | 340 | if ($voicebridge > 0 && $voicebridge < 79999) { |
@@ -85,15 +85,15 @@ discard block |
||
| 85 | 85 | $bbbsession['serverversion'] = (string) $serverversion; |
| 86 | 86 | |
| 87 | 87 | // Operation URLs. |
| 88 | - $bbbsession['bigbluebuttonbnURL'] = $CFG->wwwroot . '/mod/bigbluebuttonbn/view.php?id=' . $bbbsession['cm']->id; |
|
| 89 | - $bbbsession['logoutURL'] = $CFG->wwwroot . '/mod/bigbluebuttonbn/bbb_view.php?action=logout&id='.$id . |
|
| 90 | - '&bn=' . $bbbsession['bigbluebuttonbn']->id; |
|
| 91 | - $bbbsession['recordingReadyURL'] = $CFG->wwwroot . '/mod/bigbluebuttonbn/bbb_broker.php?action=recording_' . |
|
| 92 | - 'ready&bigbluebuttonbn=' . $bbbsession['bigbluebuttonbn']->id; |
|
| 93 | - $bbbsession['meetingEventsURL'] = $CFG->wwwroot . '/mod/bigbluebuttonbn/bbb_broker.php?action=meeting' . |
|
| 94 | - '_events&bigbluebuttonbn=' . $bbbsession['bigbluebuttonbn']->id; |
|
| 95 | - $bbbsession['joinURL'] = $CFG->wwwroot . '/mod/bigbluebuttonbn/bbb_view.php?action=join&id=' . $cm->id . |
|
| 96 | - '&bn=' . $bbbsession['bigbluebuttonbn']->id; |
|
| 88 | + $bbbsession['bigbluebuttonbnURL'] = $CFG->wwwroot.'/mod/bigbluebuttonbn/view.php?id='.$bbbsession['cm']->id; |
|
| 89 | + $bbbsession['logoutURL'] = $CFG->wwwroot.'/mod/bigbluebuttonbn/bbb_view.php?action=logout&id='.$id. |
|
| 90 | + '&bn='.$bbbsession['bigbluebuttonbn']->id; |
|
| 91 | + $bbbsession['recordingReadyURL'] = $CFG->wwwroot.'/mod/bigbluebuttonbn/bbb_broker.php?action=recording_'. |
|
| 92 | + 'ready&bigbluebuttonbn='.$bbbsession['bigbluebuttonbn']->id; |
|
| 93 | + $bbbsession['meetingEventsURL'] = $CFG->wwwroot.'/mod/bigbluebuttonbn/bbb_broker.php?action=meeting'. |
|
| 94 | + '_events&bigbluebuttonbn='.$bbbsession['bigbluebuttonbn']->id; |
|
| 95 | + $bbbsession['joinURL'] = $CFG->wwwroot.'/mod/bigbluebuttonbn/bbb_view.php?action=join&id='.$cm->id. |
|
| 96 | + '&bn='.$bbbsession['bigbluebuttonbn']->id; |
|
| 97 | 97 | |
| 98 | 98 | // Check status and set extra values. |
| 99 | 99 | $activitystatus = bigbluebuttonbn_view_get_activity_status($bbbsession); |
@@ -155,7 +155,7 @@ discard block |
||
| 155 | 155 | $lastaccess = json_decode($lastaccess->meta); |
| 156 | 156 | // If the user acceded from Timeline it should be redirected to the Dashboard. |
| 157 | 157 | if (isset($lastaccess->origin) && $lastaccess->origin == BIGBLUEBUTTON_ORIGIN_TIMELINE) { |
| 158 | - redirect($CFG->wwwroot . '/my/'); |
|
| 158 | + redirect($CFG->wwwroot.'/my/'); |
|
| 159 | 159 | } |
| 160 | 160 | // Close the tab or window where BBB was opened. |
| 161 | 161 | bigbluebuttonbn_bbb_view_close_window(); |
@@ -357,7 +357,7 @@ discard block |
||
| 357 | 357 | * @return string |
| 358 | 358 | */ |
| 359 | 359 | function bigbluebuttonbn_bbb_view_create_meeting_data_record($record) { |
| 360 | - if ((boolean)\mod_bigbluebuttonbn\locallib\config::recordings_enabled() && $record) { |
|
| 360 | + if ((boolean) \mod_bigbluebuttonbn\locallib\config::recordings_enabled() && $record) { |
|
| 361 | 361 | return 'true'; |
| 362 | 362 | } |
| 363 | 363 | return 'false'; |
@@ -370,7 +370,7 @@ discard block |
||
| 370 | 370 | * @return integer |
| 371 | 371 | */ |
| 372 | 372 | function bigbluebuttonbn_bbb_view_create_meeting_data_duration($closingtime) { |
| 373 | - if ((boolean)\mod_bigbluebuttonbn\locallib\config::get('scheduled_duration_enabled')) { |
|
| 373 | + if ((boolean) \mod_bigbluebuttonbn\locallib\config::get('scheduled_duration_enabled')) { |
|
| 374 | 374 | return bigbluebuttonbn_get_duration($closingtime); |
| 375 | 375 | } |
| 376 | 376 | return 0; |
@@ -26,7 +26,7 @@ discard block |
||
| 26 | 26 | |
| 27 | 27 | defined('MOODLE_INTERNAL') || die(); |
| 28 | 28 | |
| 29 | -require_once($CFG->dirroot . '/mod/bigbluebuttonbn/locallib.php'); |
|
| 29 | +require_once($CFG->dirroot.'/mod/bigbluebuttonbn/locallib.php'); |
|
| 30 | 30 | |
| 31 | 31 | /** |
| 32 | 32 | * Methods used to render view BBB in mobile. |
@@ -62,8 +62,8 @@ discard block |
||
| 62 | 62 | $session['bigbluebuttonbn']->id; |
| 63 | 63 | $session['meetingname'] = $session['bigbluebuttonbn']->name; |
| 64 | 64 | $session['meetingdescription'] = $session['bigbluebuttonbn']->intro; |
| 65 | - $session['userlimit'] = intval((int)\mod_bigbluebuttonbn\locallib\config::get('userlimit_default')); |
|
| 66 | - if ((boolean)\mod_bigbluebuttonbn\locallib\config::get('userlimit_editable')) { |
|
| 65 | + $session['userlimit'] = intval((int) \mod_bigbluebuttonbn\locallib\config::get('userlimit_default')); |
|
| 66 | + if ((boolean) \mod_bigbluebuttonbn\locallib\config::get('userlimit_editable')) { |
|
| 67 | 67 | $session['userlimit'] = intval($session['bigbluebuttonbn']->userlimit); |
| 68 | 68 | } |
| 69 | 69 | $session['voicebridge'] = $session['bigbluebuttonbn']->voicebridge; |
@@ -223,7 +223,7 @@ discard block |
||
| 223 | 223 | * @return string |
| 224 | 224 | */ |
| 225 | 225 | public static function create_meeting_data_record($record) { |
| 226 | - if ((boolean)\mod_bigbluebuttonbn\locallib\config::recordings_enabled() && $record) { |
|
| 226 | + if ((boolean) \mod_bigbluebuttonbn\locallib\config::recordings_enabled() && $record) { |
|
| 227 | 227 | return 'true'; |
| 228 | 228 | } |
| 229 | 229 | return 'false'; |
@@ -236,7 +236,7 @@ discard block |
||
| 236 | 236 | * @return integer |
| 237 | 237 | */ |
| 238 | 238 | public static function create_meeting_data_duration($closingtime) { |
| 239 | - if ((boolean)\mod_bigbluebuttonbn\locallib\config::get('scheduled_duration_enabled')) { |
|
| 239 | + if ((boolean) \mod_bigbluebuttonbn\locallib\config::get('scheduled_duration_enabled')) { |
|
| 240 | 240 | return bigbluebuttonbn_get_duration($closingtime); |
| 241 | 241 | } |
| 242 | 242 | return 0; |
@@ -27,7 +27,7 @@ |
||
| 27 | 27 | |
| 28 | 28 | defined('MOODLE_INTERNAL') || die(); |
| 29 | 29 | |
| 30 | -require_once($CFG->dirroot . '/mod/bigbluebuttonbn/locallib.php'); |
|
| 30 | +require_once($CFG->dirroot.'/mod/bigbluebuttonbn/locallib.php'); |
|
| 31 | 31 | |
| 32 | 32 | /** |
| 33 | 33 | * Helper class for sending notifications. |
@@ -170,43 +170,43 @@ |
||
| 170 | 170 | */ |
| 171 | 171 | public static function get_options() { |
| 172 | 172 | return array( |
| 173 | - 'version_major' => self::get_moodle_version_major(), |
|
| 174 | - 'voicebridge_editable' => self::get('voicebridge_editable'), |
|
| 175 | - 'importrecordings_enabled' => self::get('importrecordings_enabled'), |
|
| 176 | - 'importrecordings_from_deleted_enabled' => self::get('importrecordings_from_deleted_enabled'), |
|
| 177 | - 'waitformoderator_default' => self::get('waitformoderator_default'), |
|
| 178 | - 'waitformoderator_editable' => self::get('waitformoderator_editable'), |
|
| 179 | - 'userlimit_default' => self::get('userlimit_default'), |
|
| 180 | - 'userlimit_editable' => self::get('userlimit_editable'), |
|
| 181 | - 'preuploadpresentation_enabled' => self::get('preuploadpresentation_enabled'), |
|
| 182 | - 'sendnotifications_enabled' => self::get('sendnotifications_enabled'), |
|
| 183 | - 'recordings_enabled' => self::get('recordings_enabled'), |
|
| 184 | - 'meetingevents_enabled' => self::get('meetingevents_enabled'), |
|
| 185 | - 'recordings_html_default' => self::get('recordings_html_default'), |
|
| 186 | - 'recordings_html_editable' => self::get('recordings_html_editable'), |
|
| 187 | - 'recordings_deleted_default' => self::get('recordings_deleted_default'), |
|
| 188 | - 'recordings_deleted_editable' => self::get('recordings_deleted_editable'), |
|
| 189 | - 'recordings_imported_default' => self::get('recordings_imported_default'), |
|
| 190 | - 'recordings_imported_editable' => self::get('recordings_imported_editable'), |
|
| 191 | - 'recordings_preview_default' => self::get('recordings_preview_default'), |
|
| 192 | - 'recordings_preview_editable' => self::get('recordings_preview_editable'), |
|
| 193 | - 'recording_default' => self::get('recording_default'), |
|
| 194 | - 'recording_editable' => self::get('recording_editable'), |
|
| 195 | - 'recording_icons_enabled' => self::get('recording_icons_enabled'), |
|
| 196 | - 'recording_all_from_start_default' => self::get('recording_all_from_start_default'), |
|
| 197 | - 'recording_all_from_start_editable' => self::get('recording_all_from_start_editable'), |
|
| 198 | - 'recording_hide_button_default' => self::get('recording_hide_button_default'), |
|
| 199 | - 'recording_hide_button_editable' => self::get('recording_hide_button_editable'), |
|
| 200 | - 'general_warning_message' => self::get('general_warning_message'), |
|
| 201 | - 'general_warning_box_type' => self::get('general_warning_box_type'), |
|
| 202 | - 'general_warning_button_text' => self::get('general_warning_button_text'), |
|
| 203 | - 'general_warning_button_href' => self::get('general_warning_button_href'), |
|
| 204 | - 'general_warning_button_class' => self::get('general_warning_button_class'), |
|
| 205 | - 'clienttype_enabled' => self::get('clienttype_enabled'), |
|
| 206 | - 'clienttype_editable' => self::get('clienttype_editable'), |
|
| 207 | - 'clienttype_default' => self::get('clienttype_default'), |
|
| 208 | - 'muteonstart_editable' => self::get('muteonstart_editable'), |
|
| 209 | - 'muteonstart_default' => self::get('muteonstart_default'), |
|
| 210 | - ); |
|
| 173 | + 'version_major' => self::get_moodle_version_major(), |
|
| 174 | + 'voicebridge_editable' => self::get('voicebridge_editable'), |
|
| 175 | + 'importrecordings_enabled' => self::get('importrecordings_enabled'), |
|
| 176 | + 'importrecordings_from_deleted_enabled' => self::get('importrecordings_from_deleted_enabled'), |
|
| 177 | + 'waitformoderator_default' => self::get('waitformoderator_default'), |
|
| 178 | + 'waitformoderator_editable' => self::get('waitformoderator_editable'), |
|
| 179 | + 'userlimit_default' => self::get('userlimit_default'), |
|
| 180 | + 'userlimit_editable' => self::get('userlimit_editable'), |
|
| 181 | + 'preuploadpresentation_enabled' => self::get('preuploadpresentation_enabled'), |
|
| 182 | + 'sendnotifications_enabled' => self::get('sendnotifications_enabled'), |
|
| 183 | + 'recordings_enabled' => self::get('recordings_enabled'), |
|
| 184 | + 'meetingevents_enabled' => self::get('meetingevents_enabled'), |
|
| 185 | + 'recordings_html_default' => self::get('recordings_html_default'), |
|
| 186 | + 'recordings_html_editable' => self::get('recordings_html_editable'), |
|
| 187 | + 'recordings_deleted_default' => self::get('recordings_deleted_default'), |
|
| 188 | + 'recordings_deleted_editable' => self::get('recordings_deleted_editable'), |
|
| 189 | + 'recordings_imported_default' => self::get('recordings_imported_default'), |
|
| 190 | + 'recordings_imported_editable' => self::get('recordings_imported_editable'), |
|
| 191 | + 'recordings_preview_default' => self::get('recordings_preview_default'), |
|
| 192 | + 'recordings_preview_editable' => self::get('recordings_preview_editable'), |
|
| 193 | + 'recording_default' => self::get('recording_default'), |
|
| 194 | + 'recording_editable' => self::get('recording_editable'), |
|
| 195 | + 'recording_icons_enabled' => self::get('recording_icons_enabled'), |
|
| 196 | + 'recording_all_from_start_default' => self::get('recording_all_from_start_default'), |
|
| 197 | + 'recording_all_from_start_editable' => self::get('recording_all_from_start_editable'), |
|
| 198 | + 'recording_hide_button_default' => self::get('recording_hide_button_default'), |
|
| 199 | + 'recording_hide_button_editable' => self::get('recording_hide_button_editable'), |
|
| 200 | + 'general_warning_message' => self::get('general_warning_message'), |
|
| 201 | + 'general_warning_box_type' => self::get('general_warning_box_type'), |
|
| 202 | + 'general_warning_button_text' => self::get('general_warning_button_text'), |
|
| 203 | + 'general_warning_button_href' => self::get('general_warning_button_href'), |
|
| 204 | + 'general_warning_button_class' => self::get('general_warning_button_class'), |
|
| 205 | + 'clienttype_enabled' => self::get('clienttype_enabled'), |
|
| 206 | + 'clienttype_editable' => self::get('clienttype_editable'), |
|
| 207 | + 'clienttype_default' => self::get('clienttype_default'), |
|
| 208 | + 'muteonstart_editable' => self::get('muteonstart_editable'), |
|
| 209 | + 'muteonstart_default' => self::get('muteonstart_default'), |
|
| 210 | + ); |
|
| 211 | 211 | } |
| 212 | 212 | } |
@@ -27,7 +27,7 @@ discard block |
||
| 27 | 27 | |
| 28 | 28 | defined('MOODLE_INTERNAL') || die(); |
| 29 | 29 | |
| 30 | -require_once($CFG->dirroot . '/mod/bigbluebuttonbn/locallib.php'); |
|
| 30 | +require_once($CFG->dirroot.'/mod/bigbluebuttonbn/locallib.php'); |
|
| 31 | 31 | |
| 32 | 32 | /** |
| 33 | 33 | * Handles the global configuration based on config.php. |
@@ -128,10 +128,10 @@ discard block |
||
| 128 | 128 | public static function get($setting) { |
| 129 | 129 | global $CFG; |
| 130 | 130 | if (isset($CFG->bigbluebuttonbn[$setting])) { |
| 131 | - return (string)$CFG->bigbluebuttonbn[$setting]; |
|
| 131 | + return (string) $CFG->bigbluebuttonbn[$setting]; |
|
| 132 | 132 | } |
| 133 | 133 | if (isset($CFG->{'bigbluebuttonbn_'.$setting})) { |
| 134 | - return (string)$CFG->{'bigbluebuttonbn_'.$setting}; |
|
| 134 | + return (string) $CFG->{'bigbluebuttonbn_'.$setting}; |
|
| 135 | 135 | } |
| 136 | 136 | return self::defaultvalue($setting); |
| 137 | 137 | } |
@@ -142,7 +142,7 @@ discard block |
||
| 142 | 142 | * @return boolean |
| 143 | 143 | */ |
| 144 | 144 | public static function recordings_enabled() { |
| 145 | - return (boolean)self::get('recordings_enabled'); |
|
| 145 | + return (boolean) self::get('recordings_enabled'); |
|
| 146 | 146 | } |
| 147 | 147 | |
| 148 | 148 | /** |
@@ -151,7 +151,7 @@ discard block |
||
| 151 | 151 | * @return boolean |
| 152 | 152 | */ |
| 153 | 153 | public static function importrecordings_enabled() { |
| 154 | - return (boolean)self::get('importrecordings_enabled'); |
|
| 154 | + return (boolean) self::get('importrecordings_enabled'); |
|
| 155 | 155 | } |
| 156 | 156 | |
| 157 | 157 | /** |
@@ -160,7 +160,7 @@ discard block |
||
| 160 | 160 | * @return boolean |
| 161 | 161 | */ |
| 162 | 162 | public static function clienttype_enabled() { |
| 163 | - return (boolean)self::get('clienttype_enabled'); |
|
| 163 | + return (boolean) self::get('clienttype_enabled'); |
|
| 164 | 164 | } |
| 165 | 165 | |
| 166 | 166 | /** |
@@ -27,7 +27,7 @@ discard block |
||
| 27 | 27 | |
| 28 | 28 | defined('MOODLE_INTERNAL') || die(); |
| 29 | 29 | |
| 30 | -require_once($CFG->dirroot . '/mod/bigbluebuttonbn/locallib.php'); |
|
| 30 | +require_once($CFG->dirroot.'/mod/bigbluebuttonbn/locallib.php'); |
|
| 31 | 31 | |
| 32 | 32 | /** |
| 33 | 33 | * Wrapper for executing http requests on a BigBlueButton server. |
@@ -46,15 +46,15 @@ discard block |
||
| 46 | 46 | * @return string |
| 47 | 47 | */ |
| 48 | 48 | public static function action_url($action = '', $data = array(), $metadata = array()) { |
| 49 | - $baseurl = self::sanitized_url() . $action . '?'; |
|
| 49 | + $baseurl = self::sanitized_url().$action.'?'; |
|
| 50 | 50 | $params = ''; |
| 51 | 51 | foreach ($data as $key => $value) { |
| 52 | - $params .= '&' . $key . '=' . urlencode($value); |
|
| 52 | + $params .= '&'.$key.'='.urlencode($value); |
|
| 53 | 53 | } |
| 54 | 54 | foreach ($metadata as $key => $value) { |
| 55 | - $params .= '&' . 'meta_' . $key.'=' . urlencode($value); |
|
| 55 | + $params .= '&'.'meta_'.$key.'='.urlencode($value); |
|
| 56 | 56 | } |
| 57 | - return $baseurl . $params . '&checksum=' . sha1($action . $params . self::sanitized_secret()); |
|
| 57 | + return $baseurl.$params.'&checksum='.sha1($action.$params.self::sanitized_secret()); |
|
| 58 | 58 | } |
| 59 | 59 | |
| 60 | 60 | /** |
@@ -70,7 +70,7 @@ discard block |
||
| 70 | 70 | if (substr($serverurl, -4) == '/api') { |
| 71 | 71 | $serverurl = rtrim($serverurl, '/api'); |
| 72 | 72 | } |
| 73 | - return $serverurl . '/api/'; |
|
| 73 | + return $serverurl.'/api/'; |
|
| 74 | 74 | } |
| 75 | 75 | |
| 76 | 76 | /** |
@@ -91,8 +91,8 @@ discard block |
||
| 91 | 91 | $pserverurl = parse_url(trim(\mod_bigbluebuttonbn\locallib\config::get('server_url'))); |
| 92 | 92 | $pserverurlport = ""; |
| 93 | 93 | if (isset($pserverurl['port'])) { |
| 94 | - $pserverurlport = ":" . $pserverurl['port']; |
|
| 94 | + $pserverurlport = ":".$pserverurl['port']; |
|
| 95 | 95 | } |
| 96 | - return $pserverurl['scheme'] . "://" . $pserverurl['host'] . $pserverurlport . "/"; |
|
| 96 | + return $pserverurl['scheme']."://".$pserverurl['host'].$pserverurlport."/"; |
|
| 97 | 97 | } |
| 98 | 98 | } |
@@ -59,11 +59,11 @@ discard block |
||
| 59 | 59 | */ |
| 60 | 60 | public static function _get_metadata(collection $collection) { |
| 61 | 61 | |
| 62 | - // The table bigbluebuttonbn stores only the room properties. |
|
| 63 | - // However, there is a chance that some personal information is stored as metadata. |
|
| 64 | - // This would be done in the column 'participants' where rules can be set to define BBB roles. |
|
| 65 | - // It is fair to say that only the userid is stored, which is useless if user is removed. |
|
| 66 | - // But if this is a concern a refactoring on the way the rules are stored will be required. |
|
| 62 | + // The table bigbluebuttonbn stores only the room properties. |
|
| 63 | + // However, there is a chance that some personal information is stored as metadata. |
|
| 64 | + // This would be done in the column 'participants' where rules can be set to define BBB roles. |
|
| 65 | + // It is fair to say that only the userid is stored, which is useless if user is removed. |
|
| 66 | + // But if this is a concern a refactoring on the way the rules are stored will be required. |
|
| 67 | 67 | $collection->add_database_table('bigbluebuttonbn', [ |
| 68 | 68 | 'participants' => 'privacy:metadata:bigbluebuttonbn:participants', |
| 69 | 69 | ], 'privacy:metadata:bigbluebuttonbn'); |
@@ -207,7 +207,7 @@ discard block |
||
| 207 | 207 | 'meetingid' => $record->meetingid, |
| 208 | 208 | 'log' => $record->log, |
| 209 | 209 | 'meta' => $record->meta, |
| 210 | - ]; |
|
| 210 | + ]; |
|
| 211 | 211 | return $carry; |
| 212 | 212 | }, |
| 213 | 213 | function($instanceid, $data) use ($user, $instanceidstocmids) { |
@@ -36,7 +36,7 @@ |
||
| 36 | 36 | |
| 37 | 37 | defined('MOODLE_INTERNAL') || die(); |
| 38 | 38 | |
| 39 | -require_once($CFG->dirroot . '/mod/bigbluebuttonbn/locallib.php'); |
|
| 39 | +require_once($CFG->dirroot.'/mod/bigbluebuttonbn/locallib.php'); |
|
| 40 | 40 | |
| 41 | 41 | /** |
| 42 | 42 | * Privacy class for requesting user data. |
@@ -86,7 +86,7 @@ |
||
| 86 | 86 | } |
| 87 | 87 | $recordings = bigbluebuttonbn_get_allrecordings( |
| 88 | 88 | $selected, $bigbluebuttonbnid, false, |
| 89 | - (boolean)\mod_bigbluebuttonbn\locallib\config::get('importrecordings_from_deleted_enabled') |
|
| 89 | + (boolean) \mod_bigbluebuttonbn\locallib\config::get('importrecordings_from_deleted_enabled') |
|
| 90 | 90 | ); |
| 91 | 91 | // Exclude the ones that are already imported. |
| 92 | 92 | if (!empty($recordings)) { |
@@ -221,10 +221,10 @@ |
||
| 221 | 221 | if ($groupobj != null) { |
| 222 | 222 | $actions .= ' <INPUT type="hidden" name="g" value="'.$groupobj->id.'">'."\n"; |
| 223 | 223 | } |
| 224 | - $actions .= ' <INPUT type="submit" name="submit" value="' . |
|
| 225 | - get_string('view_conference_action_end', 'bigbluebuttonbn') . |
|
| 226 | - '" class="btn btn-primary btn-sm" onclick="return confirm(\'' . |
|
| 227 | - get_string('index_confirm_end', 'bigbluebuttonbn') . '\')">' . "\n"; |
|
| 224 | + $actions .= ' <INPUT type="submit" name="submit" value="'. |
|
| 225 | + get_string('view_conference_action_end', 'bigbluebuttonbn'). |
|
| 226 | + '" class="btn btn-primary btn-sm" onclick="return confirm(\''. |
|
| 227 | + get_string('index_confirm_end', 'bigbluebuttonbn').'\')">'."\n"; |
|
| 228 | 228 | $actions .= '</form>'."\n"; |
| 229 | 229 | } |
| 230 | 230 | return $actions; |