Completed
Push — v2.2-stable ( 20d974...7dc50b )
by Jesus
02:31
created
config-dist.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
  * recordings from a different activity even from a different course.
99 99
  **/
100 100
 
101
- /*
101
+    /*
102 102
  * When the value is set to 1 (checked) the bigbluebuttonbn rooms or
103 103
  * activities will have the 'import recordings' capability enabled.
104 104
  * $CFG->bigbluebuttonbn['importrecordings_enabled'] = 0;
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
  * 'Join session' button enabled
120 120
  **/
121 121
 
122
- /*
122
+    /*
123 123
  * When the value is set to 1 (checked) the bigbluebuttonbn rooms or
124 124
  * activities will have the 'wait for moderator' capability enabled by
125 125
  * default.
@@ -298,27 +298,27 @@  discard block
 block discarded – undo
298 298
  * $CFG->bigbluebuttonbn['general_warning_message'] = "Would you like to record your BigBlueButton sessions for later viewing? ";
299 299
  */
300 300
 
301
- /*
301
+    /*
302 302
  * The warning box is always shown to administrators, but it is also possible to define other roles
303 303
  * to whom the it will be shown. The roles are based on the shortnames defined by Moodle:
304 304
  *     'manager,coursecreator,editingteacher,teacher,student,guest,user,frontpage'
305 305
  * $CFG->bigbluebuttonbn['general_warning_roles'] = 'editingteacher,teacher';
306 306
  */
307 307
 
308
- /*
308
+    /*
309 309
  * As the general_warning_message is shown in a box, its type can be defined with general_warning_type
310 310
  * The default type is 'info' which is normaly rendered in blue when using a bootstrap theme.
311 311
  * All the modifiers for boxed in bootstrap can be used [info|success|warning|danger].
312 312
  * $CFG->bigbluebuttonbn['general_warning_box_type'] = 'info';
313 313
  */
314 314
 
315
- /*
315
+    /*
316 316
  * Additionally, when general_warning_button_href value is different than "", a button
317 317
  * can also be shown right after the message.
318 318
  * $CFG->bigbluebuttonbn['general_warning_button_href'] = "http://blindsidenetworks.com/";
319 319
  */
320 320
 
321
- /*
321
+    /*
322 322
  * Finally, the text and class for the button can be modified
323 323
  * $CFG->bigbluebuttonbn['general_warning_button_text'] = "Upgrade your site";
324 324
  * $CFG->bigbluebuttonbn['general_warning_button_class'] = "btn btn-primary";
Please login to merge, or discard this patch.
mod_form.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -215,8 +215,8 @@  discard block
 block discarded – undo
215 215
             $this->bigbluebuttonbn_mform_add_element($mform, $field['type'], $field['name'], $field['data_type'],
216 216
                 $field['description_key'], 0, ['maxlength' => 4, 'size' => 6],
217 217
                 ['message' => get_string('mod_form_field_voicebridge_format_error', 'bigbluebuttonbn'),
218
-                 'type' => 'numeric', 'rule' => '####', 'validator' => 'server']
219
-              );
218
+                    'type' => 'numeric', 'rule' => '####', 'validator' => 'server']
219
+                );
220 220
         } else {
221 221
             $this->bigbluebuttonbn_mform_add_element($mform, $field['type'], $field['name'], $field['data_type'],
222 222
                 $field['description_key'], 0, ['maxlength' => 4, 'size' => 6]);
@@ -254,7 +254,7 @@  discard block
 block discarded – undo
254 254
      */
255 255
     private function bigbluebuttonbn_mform_add_block_room_recordings(&$mform, $cfg) {
256 256
         $field = ['type' => 'hidden', 'name' => 'recordings_html', 'data_type' => PARAM_INT,
257
-                  'description_key' => null];
257
+                    'description_key' => null];
258 258
         if ($cfg['recordings_html_editable']) {
259 259
             $field['type'] = 'checkbox';
260 260
             $field['description_key'] = 'mod_form_field_recordings_html';
@@ -262,7 +262,7 @@  discard block
 block discarded – undo
262 262
         $this->bigbluebuttonbn_mform_add_element($mform, $field['type'], $field['name'], $field['data_type'],
263 263
             $field['description_key'], $cfg['recordings_html_default']);
264 264
         $field = ['type' => 'hidden', 'name' => 'recordings_deleted', 'data_type' => PARAM_INT,
265
-                  'description_key' => null];
265
+                    'description_key' => null];
266 266
         if ($cfg['recordings_deleted_editable']) {
267 267
             $field['type'] = 'checkbox';
268 268
             $field['description_key'] = 'mod_form_field_recordings_deleted';
@@ -270,7 +270,7 @@  discard block
 block discarded – undo
270 270
         $this->bigbluebuttonbn_mform_add_element($mform, $field['type'], $field['name'], $field['data_type'],
271 271
             $field['description_key'], $cfg['recordings_deleted_default']);
272 272
         $field = ['type' => 'hidden', 'name' => 'recordings_imported', 'data_type' => PARAM_INT,
273
-                  'description_key' => null];
273
+                    'description_key' => null];
274 274
         if ($cfg['importrecordings_enabled'] && $cfg['recordings_imported_editable']) {
275 275
             $field['type'] = 'checkbox';
276 276
             $field['description_key'] = 'mod_form_field_recordings_imported';
@@ -278,7 +278,7 @@  discard block
 block discarded – undo
278 278
         $this->bigbluebuttonbn_mform_add_element($mform, $field['type'], $field['name'], $field['data_type'],
279 279
             $field['description_key'], $cfg['recordings_imported_default']);
280 280
         $field = ['type' => 'hidden', 'name' => 'recordings_preview', 'data_type' => PARAM_INT,
281
-                  'description_key' => null];
281
+                    'description_key' => null];
282 282
         if ($cfg['recordings_preview_editable']) {
283 283
             $field['type'] = 'checkbox';
284 284
             $field['description_key'] = 'mod_form_field_recordings_preview';
@@ -349,7 +349,7 @@  discard block
 block discarded – undo
349 349
         $htmlselectiontype = html_writer::select($participantselection['type_options'],
350 350
             'bigbluebuttonbn_participant_selection_type', $participantselection['type_selected'], array(),
351 351
             array('id' => 'bigbluebuttonbn_participant_selection_type',
352
-                  'onchange' => 'M.mod_bigbluebuttonbn.modform.participantSelectionSet(); return 0;'));
352
+                    'onchange' => 'M.mod_bigbluebuttonbn.modform.participantSelectionSet(); return 0;'));
353 353
         $htmlselectionoptions = html_writer::select($participantselection['options'], 'bigbluebuttonbn_participant_selection',
354 354
             $participantselection['selected'], array(),
355 355
             array('id' => 'bigbluebuttonbn_participant_selection', 'disabled' => 'disabled'));
@@ -357,7 +357,7 @@  discard block
 block discarded – undo
357 357
             'type' => 'button', 'class' => 'btn btn-secondary',
358 358
             'value' => get_string('mod_form_field_participant_list_action_add', 'bigbluebuttonbn'),
359 359
             'onclick' => 'M.mod_bigbluebuttonbn.modform.participantAdd(); return 0;'
360
-          ));
360
+            ));
361 361
         $htmladdparticipant = html_writer::tag('div',
362 362
             $htmlselectiontype . '  ' . $htmlselectionoptions . '  ' . $htmlselectioninput, null);
363 363
         $mform->addElement('html', "\n\n");
@@ -393,7 +393,7 @@  discard block
 block discarded – undo
393 393
             $field['description_key'] = 'mod_form_field_block_clienttype';
394 394
 
395 395
             $choices = array(BIGBLUEBUTTON_CLIENTTYPE_FLASH => get_string('mod_form_block_clienttype_flash', 'bigbluebuttonbn'),
396
-                             BIGBLUEBUTTON_CLIENTTYPE_HTML5 => get_string('mod_form_block_clienttype_html5', 'bigbluebuttonbn'));
396
+                                BIGBLUEBUTTON_CLIENTTYPE_HTML5 => get_string('mod_form_block_clienttype_html5', 'bigbluebuttonbn'));
397 397
 
398 398
             $mform->addElement('header', 'clienttypeselection', get_string('mod_form_block_clienttype', 'bigbluebuttonbn'));
399 399
             $this->bigbluebuttonbn_mform_add_element($mform, $field['type'], $field['name'], $field['data_type'],
Please login to merge, or discard this patch.
locallib.php 1 patch
Indentation   +52 added lines, -52 removed lines patch added patch discarded remove patch
@@ -92,11 +92,11 @@  discard block
 block discarded – undo
92 92
  * @return string
93 93
  */
94 94
 function bigbluebuttonbn_get_join_url($meetingid, $username, $pw, $logouturl, $configtoken = null,
95
-                                      $userid = null, $clienttype = BIGBLUEBUTTON_CLIENTTYPE_FLASH) {
95
+                                        $userid = null, $clienttype = BIGBLUEBUTTON_CLIENTTYPE_FLASH) {
96 96
     $data = ['meetingID' => $meetingid,
97
-              'fullName' => $username,
98
-              'password' => $pw,
99
-              'logoutURL' => $logouturl,
97
+                'fullName' => $username,
98
+                'password' => $pw,
99
+                'logoutURL' => $logouturl,
100 100
             ];
101 101
     // Choose between Adobe Flash or HTML5 Client.
102 102
     if ( $clienttype == BIGBLUEBUTTON_CLIENTTYPE_HTML5 ) {
@@ -153,23 +153,23 @@  discard block
 block discarded – undo
153 153
 function bigbluebuttonbn_get_meeting_info_array($meetingid) {
154 154
     $xml = bigbluebuttonbn_wrap_xml_load_file(
155 155
         \mod_bigbluebuttonbn\locallib\bigbluebutton::action_url('getMeetingInfo', ['meetingID' => $meetingid])
156
-      );
156
+        );
157 157
     if ($xml && $xml->returncode == 'SUCCESS' && empty($xml->messageKey)) {
158 158
         // Meeting info was returned.
159 159
         return array('returncode' => $xml->returncode,
160
-                     'meetingID' => $xml->meetingID,
161
-                     'moderatorPW' => $xml->moderatorPW,
162
-                     'attendeePW' => $xml->attendeePW,
163
-                     'hasBeenForciblyEnded' => $xml->hasBeenForciblyEnded,
164
-                     'running' => $xml->running,
165
-                     'recording' => $xml->recording,
166
-                     'startTime' => $xml->startTime,
167
-                     'endTime' => $xml->endTime,
168
-                     'participantCount' => $xml->participantCount,
169
-                     'moderatorCount' => $xml->moderatorCount,
170
-                     'attendees' => $xml->attendees,
171
-                     'metadata' => $xml->metadata,
172
-                   );
160
+                        'meetingID' => $xml->meetingID,
161
+                        'moderatorPW' => $xml->moderatorPW,
162
+                        'attendeePW' => $xml->attendeePW,
163
+                        'hasBeenForciblyEnded' => $xml->hasBeenForciblyEnded,
164
+                        'running' => $xml->running,
165
+                        'recording' => $xml->recording,
166
+                        'startTime' => $xml->startTime,
167
+                        'endTime' => $xml->endTime,
168
+                        'participantCount' => $xml->participantCount,
169
+                        'moderatorCount' => $xml->moderatorCount,
170
+                        'attendees' => $xml->attendees,
171
+                        'metadata' => $xml->metadata,
172
+                    );
173 173
     }
174 174
     if ($xml) {
175 175
         // Either failure or success without meeting info.
@@ -305,7 +305,7 @@  discard block
 block discarded – undo
305 305
 function bigbluebuttonbn_get_default_config_xml() {
306 306
     $xml = bigbluebuttonbn_wrap_xml_load_file(
307 307
         \mod_bigbluebuttonbn\locallib\bigbluebutton::action_url('getDefaultConfigXML')
308
-      );
308
+        );
309 309
     return $xml;
310 310
 }
311 311
 
@@ -406,7 +406,7 @@  discard block
 block discarded – undo
406 406
     foreach ($ids as $id) {
407 407
         $xml = bigbluebuttonbn_wrap_xml_load_file(
408 408
             \mod_bigbluebuttonbn\locallib\bigbluebutton::action_url('deleteRecordings', ['recordID' => $id])
409
-          );
409
+            );
410 410
         if ($xml && $xml->returncode != 'SUCCESS') {
411 411
             return false;
412 412
         }
@@ -425,7 +425,7 @@  discard block
 block discarded – undo
425 425
     foreach ($ids as $id) {
426 426
         $xml = bigbluebuttonbn_wrap_xml_load_file(
427 427
             \mod_bigbluebuttonbn\locallib\bigbluebutton::action_url('publishRecordings', ['recordID' => $id, 'publish' => $publish])
428
-          );
428
+            );
429 429
         if ($xml && $xml->returncode != 'SUCCESS') {
430 430
             return false;
431 431
         }
@@ -444,7 +444,7 @@  discard block
 block discarded – undo
444 444
     foreach ($ids as $id) {
445 445
         $xml = bigbluebuttonbn_wrap_xml_load_file(
446 446
             \mod_bigbluebuttonbn\locallib\bigbluebutton::action_url('updateRecordings', ['recordID' => $id] + (array) $params)
447
-          );
447
+            );
448 448
         if ($xml && $xml->returncode != 'SUCCESS') {
449 449
             return false;
450 450
         }
@@ -461,7 +461,7 @@  discard block
 block discarded – undo
461 461
 function bigbluebuttonbn_end_meeting($meetingid, $modpw) {
462 462
     $xml = bigbluebuttonbn_wrap_xml_load_file(
463 463
         \mod_bigbluebuttonbn\locallib\bigbluebutton::action_url('end', ['meetingID' => $meetingid, 'password' => $modpw])
464
-      );
464
+        );
465 465
     if ($xml) {
466 466
         // If the xml packet returned failure it displays the message to the user.
467 467
         return array('returncode' => $xml->returncode, 'message' => $xml->message, 'messageKey' => $xml->messageKey);
@@ -478,7 +478,7 @@  discard block
 block discarded – undo
478 478
 function bigbluebuttonbn_get_server_version() {
479 479
     $xml = bigbluebuttonbn_wrap_xml_load_file(
480 480
         \mod_bigbluebuttonbn\locallib\bigbluebutton::action_url()
481
-      );
481
+        );
482 482
     if ($xml && $xml->returncode == 'SUCCESS') {
483 483
         return $xml->version;
484 484
     }
@@ -545,10 +545,10 @@  discard block
 block discarded – undo
545 545
         }
546 546
         $options = array();
547 547
         $options['CURLOPT_HTTPHEADER'] = array(
548
-                 'Content-Type: '.$contenttype,
549
-                 'Content-Length: '.strlen($data),
550
-                 'Content-Language: en-US',
551
-               );
548
+                    'Content-Type: '.$contenttype,
549
+                    'Content-Length: '.strlen($data),
550
+                    'Content-Language: en-US',
551
+                );
552 552
 
553 553
         return $c->post($url, $data, $options);
554 554
     }
@@ -695,16 +695,16 @@  discard block
 block discarded – undo
695 695
         'all' => array(
696 696
             'name' => get_string('mod_form_field_participant_list_type_all', 'bigbluebuttonbn'),
697 697
             'children' => []
698
-          )
699
-      );
698
+            )
699
+        );
700 700
     $data['role'] = array(
701 701
         'name' => get_string('mod_form_field_participant_list_type_role', 'bigbluebuttonbn'),
702 702
         'children' => bigbluebuttonbn_get_roles_select($context)
703
-      );
703
+        );
704 704
     $data['user'] = array(
705 705
         'name' => get_string('mod_form_field_participant_list_type_user', 'bigbluebuttonbn'),
706 706
         'children' => bigbluebuttonbn_get_users_select($context)
707
-      );
707
+        );
708 708
     return $data;
709 709
 }
710 710
 
@@ -747,7 +747,7 @@  discard block
 block discarded – undo
747 747
         'selectiontype' => 'all',
748 748
         'selectionid' => 'all',
749 749
         'role' => BIGBLUEBUTTONBN_ROLE_VIEWER
750
-      );
750
+        );
751 751
     $defaultrules = explode(',', \mod_bigbluebuttonbn\locallib\config::get('participant_moderator_default'));
752 752
     foreach ($defaultrules as $defaultrule) {
753 753
         if ($defaultrule == '0') {
@@ -760,9 +760,9 @@  discard block
 block discarded – undo
760 760
             continue;
761 761
         }
762 762
         $participantlist[] = array(
763
-              'selectiontype' => 'role',
764
-              'selectionid' => $defaultrule,
765
-              'role' => BIGBLUEBUTTONBN_ROLE_MODERATOR);
763
+                'selectiontype' => 'role',
764
+                'selectionid' => $defaultrule,
765
+                'role' => BIGBLUEBUTTONBN_ROLE_MODERATOR);
766 766
     }
767 767
     return $participantlist;
768 768
 }
@@ -801,11 +801,11 @@  discard block
 block discarded – undo
801 801
             'all' => get_string('mod_form_field_participant_list_type_all', 'bigbluebuttonbn'),
802 802
             'role' => get_string('mod_form_field_participant_list_type_role', 'bigbluebuttonbn'),
803 803
             'user' => get_string('mod_form_field_participant_list_type_user', 'bigbluebuttonbn'),
804
-          ],
804
+            ],
805 805
         'type_selected' => 'all',
806 806
         'options' => ['all' => '---------------'],
807 807
         'selected' => 'all',
808
-      ];
808
+        ];
809 809
 }
810 810
 
811 811
 /**
@@ -1082,7 +1082,7 @@  discard block
 block discarded – undo
1082 1082
         $eventproperties['other'] = $options['other'];
1083 1083
     }
1084 1084
     $event = call_user_func_array('\mod_bigbluebuttonbn\event\bigbluebuttonbn_'.$eventtype.'::create',
1085
-      array($eventproperties));
1085
+        array($eventproperties));
1086 1086
     $event->trigger();
1087 1087
 }
1088 1088
 
@@ -1126,7 +1126,7 @@  discard block
 block discarded – undo
1126 1126
     // Ping again and refresh the cache.
1127 1127
     $meetinginfo = (array) bigbluebuttonbn_wrap_xml_load_file(
1128 1128
         \mod_bigbluebuttonbn\locallib\bigbluebutton::action_url('getMeetingInfo', ['meetingID' => $meetingid])
1129
-      );
1129
+        );
1130 1130
     $cache->set($meetingid, array('creation_time' => time(), 'meeting_info' => json_encode($meetinginfo)));
1131 1131
     return $meetinginfo;
1132 1132
 }
@@ -1538,8 +1538,8 @@  discard block
 block discarded – undo
1538 1538
     }
1539 1539
     $id = 'playbacks-'.$recording['recordID'];
1540 1540
     $recordingtypes = html_writer::start_tag('div', array('id' => $id, 'data-imported' => $dataimported,
1541
-          'data-meetingid' => $recording['meetingID'], 'data-recordingid' => $recording['recordID'],
1542
-          'title' => $title, $visibility => $visibility));
1541
+            'data-meetingid' => $recording['meetingID'], 'data-recordingid' => $recording['recordID'],
1542
+            'title' => $title, $visibility => $visibility));
1543 1543
     foreach ($recording['playbacks'] as $playback) {
1544 1544
         $recordingtypes .= bigbluebuttonbn_get_recording_data_row_type($recording, $bbbsession, $playback);
1545 1545
     }
@@ -1563,7 +1563,7 @@  discard block
 block discarded – undo
1563 1563
     }
1564 1564
     $text = get_string('view_recording_format_'.$playback['type'], 'bigbluebuttonbn');
1565 1565
     $href = $CFG->wwwroot . '/mod/bigbluebuttonbn/bbb_view.php?action=play&bn=' . $bbbsession['bigbluebuttonbn']->id .
1566
-      '&mid='.$recording['meetingID'] . '&rid=' . $recording['recordID'] . '&rtype=' . $playback['type'];
1566
+        '&mid='.$recording['meetingID'] . '&rid=' . $recording['recordID'] . '&rtype=' . $playback['type'];
1567 1567
     if (!isset($recording['imported']) || !isset($recording['protected']) || $recording['protected'] === 'false') {
1568 1568
         $href .= '&href='.urlencode(trim($playback['url']));
1569 1569
     }
@@ -1574,7 +1574,7 @@  discard block
 block discarded – undo
1574 1574
         'data-action' => 'play',
1575 1575
         'data-target' => $playback['type'],
1576 1576
         'data-href' => $href,
1577
-      );
1577
+        );
1578 1578
     if (!bigbluebuttonbn_is_bn_server() && !bigbluebuttonbn_is_valid_resource(trim($playback['url']))) {
1579 1579
         $linkattributes['class'] = 'btn btn-sm btn-warning';
1580 1580
         $linkattributes['title'] = get_string('view_recording_format_errror_unreachable', 'bigbluebuttonbn');
@@ -1724,10 +1724,10 @@  discard block
 block discarded – undo
1724 1724
             'id' => $id,
1725 1725
             'onclick' => $onclick,
1726 1726
             'data-action' => $data['action']
1727
-          );
1727
+            );
1728 1728
         if (!isset($recording['imported'])) {
1729 1729
             $linkattributes['data-links'] = bigbluebuttonbn_count_recording_imported_instances(
1730
-              $recording['recordID']);
1730
+                $recording['recordID']);
1731 1731
         }
1732 1732
         if (isset($data['disabled'])) {
1733 1733
             $iconattributes['class'] .= ' fa-' . $data['disabled'];
@@ -2268,8 +2268,8 @@  discard block
 block discarded – undo
2268 2268
     $activitytime = '';
2269 2269
     if ($time) {
2270 2270
         $activitytime = calendar_day_representation($time).' '.
2271
-          get_string('mod_form_field_notification_msg_at', 'bigbluebuttonbn').' '.
2272
-          calendar_time_representation($time);
2271
+            get_string('mod_form_field_notification_msg_at', 'bigbluebuttonbn').' '.
2272
+            calendar_time_representation($time);
2273 2273
     }
2274 2274
     return $activitytime;
2275 2275
 }
@@ -2365,7 +2365,7 @@  discard block
 block discarded – undo
2365 2365
     global $BIGBLUEBUTTONBN_CFG;
2366 2366
     if (isset($BIGBLUEBUTTONBN_CFG)) {
2367 2367
         $renderer->render_warning_message('general_warning',
2368
-             get_string('config_warning_bigbluebuttonbn_cfg_deprecated', 'bigbluebuttonbn'));
2368
+                get_string('config_warning_bigbluebuttonbn_cfg_deprecated', 'bigbluebuttonbn'));
2369 2369
     }
2370 2370
 }
2371 2371
 
@@ -2573,7 +2573,7 @@  discard block
 block discarded – undo
2573 2573
         $renderer->render_group_element('participant_moderator_default',
2574 2574
             $renderer->render_group_element_configmultiselect('participant_moderator_default',
2575 2575
                 array_keys($owner), array_merge($owner, $roles))
2576
-          );
2576
+            );
2577 2577
     }
2578 2578
 }
2579 2579
 
@@ -2611,7 +2611,7 @@  discard block
 block discarded – undo
2611 2611
         $default = intval((int)\mod_bigbluebuttonbn\locallib\config::get('clienttype_default'));
2612 2612
 
2613 2613
         $choices = array(BIGBLUEBUTTON_CLIENTTYPE_FLASH => get_string('mod_form_block_clienttype_flash', 'bigbluebuttonbn'),
2614
-                         BIGBLUEBUTTON_CLIENTTYPE_HTML5 => get_string('mod_form_block_clienttype_html5', 'bigbluebuttonbn'));
2614
+                            BIGBLUEBUTTON_CLIENTTYPE_HTML5 => get_string('mod_form_block_clienttype_html5', 'bigbluebuttonbn'));
2615 2615
         $renderer->render_group_element('clienttype_default',
2616 2616
             $renderer->render_group_element_configselect('clienttype_default',
2617 2617
                 $default, $choices));
@@ -2702,7 +2702,7 @@  discard block
 block discarded – undo
2702 2702
         return $output;
2703 2703
     }
2704 2704
     $output .= $OUTPUT->box_start('box boxalignleft adminerror alert alert-' . $type . ' alert-block fade in',
2705
-      'bigbluebuttonbn_view_general_warning') . "\n";
2705
+        'bigbluebuttonbn_view_general_warning') . "\n";
2706 2706
     $output .= '    ' . $message . "\n";
2707 2707
     $output .= '  <div class="singlebutton pull-right">' . "\n";
2708 2708
     if (!empty($href)) {
Please login to merge, or discard this patch.
classes/locallib/config.php 1 patch
Indentation   +31 added lines, -31 removed lines patch added patch discarded remove patch
@@ -165,36 +165,36 @@
 block discarded – undo
165 165
      */
166 166
     public static function get_options() {
167 167
         return array(
168
-               'version_major' => self::get_moodle_version_major(),
169
-               'voicebridge_editable' => self::get('voicebridge_editable'),
170
-               'importrecordings_enabled' => self::get('importrecordings_enabled'),
171
-               'importrecordings_from_deleted_enabled' => self::get('importrecordings_from_deleted_enabled'),
172
-               'waitformoderator_default' => self::get('waitformoderator_default'),
173
-               'waitformoderator_editable' => self::get('waitformoderator_editable'),
174
-               'userlimit_default' => self::get('userlimit_default'),
175
-               'userlimit_editable' => self::get('userlimit_editable'),
176
-               'preuploadpresentation_enabled' => self::get('preuploadpresentation_enabled'),
177
-               'sendnotifications_enabled' => self::get('sendnotifications_enabled'),
178
-               'recordings_enabled' => self::get('recordings_enabled'),
179
-               'recordings_html_default' => self::get('recordings_html_default'),
180
-               'recordings_html_editable' => self::get('recordings_html_editable'),
181
-               'recordings_deleted_default' => self::get('recordings_deleted_default'),
182
-               'recordings_deleted_editable' => self::get('recordings_deleted_editable'),
183
-               'recordings_imported_default' => self::get('recordings_imported_default'),
184
-               'recordings_imported_editable' => self::get('recordings_imported_editable'),
185
-               'recordings_preview_default' => self::get('recordings_preview_default'),
186
-               'recordings_preview_editable' => self::get('recordings_preview_editable'),
187
-               'recording_default' => self::get('recording_default'),
188
-               'recording_editable' => self::get('recording_editable'),
189
-               'recording_icons_enabled' => self::get('recording_icons_enabled'),
190
-               'general_warning_message' => self::get('general_warning_message'),
191
-               'general_warning_box_type' => self::get('general_warning_box_type'),
192
-               'general_warning_button_text' => self::get('general_warning_button_text'),
193
-               'general_warning_button_href' => self::get('general_warning_button_href'),
194
-               'general_warning_button_class' => self::get('general_warning_button_class'),
195
-               'clienttype_enabled' => self::get('clienttype_enabled'),
196
-               'clienttype_editable' => self::get('clienttype_editable'),
197
-               'clienttype_default' => self::get('clienttype_default'),
198
-          );
168
+                'version_major' => self::get_moodle_version_major(),
169
+                'voicebridge_editable' => self::get('voicebridge_editable'),
170
+                'importrecordings_enabled' => self::get('importrecordings_enabled'),
171
+                'importrecordings_from_deleted_enabled' => self::get('importrecordings_from_deleted_enabled'),
172
+                'waitformoderator_default' => self::get('waitformoderator_default'),
173
+                'waitformoderator_editable' => self::get('waitformoderator_editable'),
174
+                'userlimit_default' => self::get('userlimit_default'),
175
+                'userlimit_editable' => self::get('userlimit_editable'),
176
+                'preuploadpresentation_enabled' => self::get('preuploadpresentation_enabled'),
177
+                'sendnotifications_enabled' => self::get('sendnotifications_enabled'),
178
+                'recordings_enabled' => self::get('recordings_enabled'),
179
+                'recordings_html_default' => self::get('recordings_html_default'),
180
+                'recordings_html_editable' => self::get('recordings_html_editable'),
181
+                'recordings_deleted_default' => self::get('recordings_deleted_default'),
182
+                'recordings_deleted_editable' => self::get('recordings_deleted_editable'),
183
+                'recordings_imported_default' => self::get('recordings_imported_default'),
184
+                'recordings_imported_editable' => self::get('recordings_imported_editable'),
185
+                'recordings_preview_default' => self::get('recordings_preview_default'),
186
+                'recordings_preview_editable' => self::get('recordings_preview_editable'),
187
+                'recording_default' => self::get('recording_default'),
188
+                'recording_editable' => self::get('recording_editable'),
189
+                'recording_icons_enabled' => self::get('recording_icons_enabled'),
190
+                'general_warning_message' => self::get('general_warning_message'),
191
+                'general_warning_box_type' => self::get('general_warning_box_type'),
192
+                'general_warning_button_text' => self::get('general_warning_button_text'),
193
+                'general_warning_button_href' => self::get('general_warning_button_href'),
194
+                'general_warning_button_class' => self::get('general_warning_button_class'),
195
+                'clienttype_enabled' => self::get('clienttype_enabled'),
196
+                'clienttype_editable' => self::get('clienttype_editable'),
197
+                'clienttype_default' => self::get('clienttype_default'),
198
+            );
199 199
     }
200 200
 }
Please login to merge, or discard this patch.