Completed
Pull Request — master (#125)
by
unknown
01:56
created
db/upgrade.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
 
27 27
 defined('MOODLE_INTERNAL') || die();
28 28
 
29
-require_once(dirname(dirname(__FILE__)).'/locallib.php');
29
+require_once(dirname(dirname(__FILE__)) . '/locallib.php');
30 30
 
31 31
 /**
32 32
  * Performs data migrations and updates on upgrade.
Please login to merge, or discard this patch.
lib.php 3 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
  * Remove this block when restored
62 62
  */
63 63
 
64
- /** @var BIGBLUEBUTTONBN_DEFAULT_SERVER_URL string of default bigbluebutton server url */
64
+    /** @var BIGBLUEBUTTONBN_DEFAULT_SERVER_URL string of default bigbluebutton server url */
65 65
 const BIGBLUEBUTTONBN_DEFAULT_SERVER_URL = 'http://test-install.blindsidenetworks.com/bigbluebutton/';
66 66
 /** @var BIGBLUEBUTTONBN_DEFAULT_SHARED_SECRET string of default bigbluebutton server shared secret */
67 67
 const BIGBLUEBUTTONBN_DEFAULT_SHARED_SECRET = '8cd8ef52e8e101574e400365b55e11a6';
@@ -339,12 +339,12 @@  discard block
 block discarded – undo
339 339
     $str  = '<div class="bigbluebuttonbn overview">'."\n";
340 340
     $str .= '  <div class="name">'.get_string('modulename', 'bigbluebuttonbn').':&nbsp;'."\n";
341 341
     $str .= '    <a '.$classes.'href="'.$CFG->wwwroot.'/mod/bigbluebuttonbn/view.php?id='.$bigbluebuttonbn->coursemodule.
342
-      '">'.$bigbluebuttonbn->name.'</a>'."\n";
342
+        '">'.$bigbluebuttonbn->name.'</a>'."\n";
343 343
     $str .= '  </div>'."\n";
344 344
     $str .= '  <div class="info">'.get_string($start, 'bigbluebuttonbn').': '.userdate($bigbluebuttonbn->openingtime).
345 345
         '</div>'."\n";
346 346
     $str .= '  <div class="info">'.get_string('ends_at', 'bigbluebuttonbn').': '.userdate($bigbluebuttonbn->closingtime)
347
-      .'</div>'."\n";
347
+        .'</div>'."\n";
348 348
     $str .= '</div>'."\n";
349 349
     return $str;
350 350
 }
@@ -529,7 +529,7 @@  discard block
 block discarded – undo
529 529
             $bigbluebuttonbn->coursemodule,
530 530
             'bigbluebuttonbn',
531 531
             $bigbluebuttonbn->id, $bigbluebuttonbn->completionexpected
532
-          );
532
+            );
533 533
     }
534 534
 }
535 535
 /**
Please login to merge, or discard this patch.
Spacing   +42 added lines, -42 removed lines patch added patch discarded remove patch
@@ -28,29 +28,29 @@  discard block
 block discarded – undo
28 28
 
29 29
 global $CFG;
30 30
 
31
-require_once($CFG->dirroot.'/calendar/lib.php');
32
-require_once($CFG->dirroot.'/message/lib.php');
33
-require_once($CFG->dirroot.'/mod/lti/OAuth.php');
34
-require_once($CFG->dirroot.'/tag/lib.php');
35
-require_once($CFG->libdir.'/accesslib.php');
36
-require_once($CFG->libdir.'/completionlib.php');
37
-require_once($CFG->libdir.'/datalib.php');
38
-require_once($CFG->libdir.'/enrollib.php');
39
-require_once($CFG->libdir.'/filelib.php');
40
-require_once($CFG->libdir.'/formslib.php');
31
+require_once($CFG->dirroot . '/calendar/lib.php');
32
+require_once($CFG->dirroot . '/message/lib.php');
33
+require_once($CFG->dirroot . '/mod/lti/OAuth.php');
34
+require_once($CFG->dirroot . '/tag/lib.php');
35
+require_once($CFG->libdir . '/accesslib.php');
36
+require_once($CFG->libdir . '/completionlib.php');
37
+require_once($CFG->libdir . '/datalib.php');
38
+require_once($CFG->libdir . '/enrollib.php');
39
+require_once($CFG->libdir . '/filelib.php');
40
+require_once($CFG->libdir . '/formslib.php');
41 41
 
42 42
 
43 43
 if (!class_exists('\Firebase\JWT\JWT') &&
44
-    file_exists(dirname(__FILE__).'/vendor/firebase/php-jwt/src/JWT.php')) {
45
-    require_once(dirname(__FILE__).'/vendor/firebase/php-jwt/src/JWT.php');
44
+    file_exists(dirname(__FILE__) . '/vendor/firebase/php-jwt/src/JWT.php')) {
45
+    require_once(dirname(__FILE__) . '/vendor/firebase/php-jwt/src/JWT.php');
46 46
 }
47 47
 
48 48
 if (!isset($CFG->bigbluebuttonbn)) {
49 49
     $CFG->bigbluebuttonbn = array();
50 50
 }
51 51
 
52
-if (file_exists(dirname(__FILE__).'/config.php')) {
53
-    require_once(dirname(__FILE__).'/config.php');
52
+if (file_exists(dirname(__FILE__) . '/config.php')) {
53
+    require_once(dirname(__FILE__) . '/config.php');
54 54
 }
55 55
 
56 56
 /*
@@ -103,18 +103,18 @@  discard block
 block discarded – undo
103 103
         return null;
104 104
     }
105 105
     $features = array(
106
-        (string) FEATURE_IDNUMBER => true,
107
-        (string) FEATURE_GROUPS => true,
108
-        (string) FEATURE_GROUPINGS => true,
109
-        (string) FEATURE_GROUPMEMBERSONLY => true,
110
-        (string) FEATURE_MOD_INTRO => true,
111
-        (string) FEATURE_BACKUP_MOODLE2 => true,
112
-        (string) FEATURE_COMPLETION_TRACKS_VIEWS => true,
113
-        (string) FEATURE_GRADE_HAS_GRADE => false,
114
-        (string) FEATURE_GRADE_OUTCOMES => false,
115
-        (string) FEATURE_SHOW_DESCRIPTION => true,
106
+        (string)FEATURE_IDNUMBER => true,
107
+        (string)FEATURE_GROUPS => true,
108
+        (string)FEATURE_GROUPINGS => true,
109
+        (string)FEATURE_GROUPMEMBERSONLY => true,
110
+        (string)FEATURE_MOD_INTRO => true,
111
+        (string)FEATURE_BACKUP_MOODLE2 => true,
112
+        (string)FEATURE_COMPLETION_TRACKS_VIEWS => true,
113
+        (string)FEATURE_GRADE_HAS_GRADE => false,
114
+        (string)FEATURE_GRADE_OUTCOMES => false,
115
+        (string)FEATURE_SHOW_DESCRIPTION => true,
116 116
     );
117
-    if (isset($features[(string) $feature])) {
117
+    if (isset($features[(string)$feature])) {
118 118
         return $features[$feature];
119 119
     }
120 120
     return null;
@@ -213,7 +213,7 @@  discard block
 block discarded – undo
213 213
 function bigbluebuttonbn_delete_instance_log($bigbluebuttonbn) {
214 214
     global $DB;
215 215
     $sql  = "SELECT * FROM {bigbluebuttonbn_logs} ";
216
-    $sql .= "WHERE bigbluebuttonbnid = ? AND log = ? AND ". $DB->sql_compare_text('meta') . " = ?";
216
+    $sql .= "WHERE bigbluebuttonbnid = ? AND log = ? AND " . $DB->sql_compare_text('meta') . " = ?";
217 217
     $logs = $DB->get_records_sql($sql, array($bigbluebuttonbn->id, BIGBLUEBUTTONBN_LOG_EVENT_CREATE, "{\"record\":true}"));
218 218
     $meta = "{\"has_recordings\":" . empty($logs) ? "true" : "false" . "}";
219 219
     bigbluebuttonbn_log($bigbluebuttonbn, BIGBLUEBUTTONBN_LOG_EVENT_DELETE, [], $meta);
@@ -236,10 +236,10 @@  discard block
 block discarded – undo
236 236
 function bigbluebuttonbn_user_outline($course, $user, $mod, $bigbluebuttonbn) {
237 237
     global $DB;
238 238
     $completed = $DB->count_records('bigbluebuttonbn_logs', array('courseid' => $course->id,
239
-        'bigbluebuttonbnid' => $bigbluebuttonbn->id, 'userid' => $user->id, 'log' => 'Join', ), '*');
239
+        'bigbluebuttonbnid' => $bigbluebuttonbn->id, 'userid' => $user->id, 'log' => 'Join',), '*');
240 240
     if ($completed > 0) {
241
-        return fullname($user).' '.get_string('view_message_has_joined', 'bigbluebuttonbn').' '.
242
-            get_string('view_message_session_for', 'bigbluebuttonbn').' '.(string) $completed.' '.
241
+        return fullname($user) . ' ' . get_string('view_message_has_joined', 'bigbluebuttonbn') . ' ' .
242
+            get_string('view_message_session_for', 'bigbluebuttonbn') . ' ' . (string)$completed . ' ' .
243 243
             get_string('view_message_times', 'bigbluebuttonbn');
244 244
     }
245 245
     return '';
@@ -259,7 +259,7 @@  discard block
 block discarded – undo
259 259
 function bigbluebuttonbn_user_complete($course, $user, $mod, $bigbluebuttonbn) {
260 260
     global $DB;
261 261
     $completed = $DB->count_records('bigbluebuttonbn_logs', array('courseid' => $course->id,
262
-        'bigbluebuttonbnid' => $bigbluebuttonbn->id, 'userid' => $user->id, 'log' => 'Join', ),
262
+        'bigbluebuttonbnid' => $bigbluebuttonbn->id, 'userid' => $user->id, 'log' => 'Join',),
263 263
         '*', IGNORE_MULTIPLE);
264 264
     return $completed > 0;
265 265
 }
@@ -345,16 +345,16 @@  discard block
 block discarded – undo
345 345
     if ($bigbluebuttonbn->visible) {
346 346
         $classes = 'class="dimmed" ';
347 347
     }
348
-    $str  = '<div class="bigbluebuttonbn overview">'."\n";
349
-    $str .= '  <div class="name">'.get_string('modulename', 'bigbluebuttonbn').':&nbsp;'."\n";
350
-    $str .= '    <a '.$classes.'href="'.$CFG->wwwroot.'/mod/bigbluebuttonbn/view.php?id='.$bigbluebuttonbn->coursemodule.
351
-      '">'.$bigbluebuttonbn->name.'</a>'."\n";
352
-    $str .= '  </div>'."\n";
353
-    $str .= '  <div class="info">'.get_string($start, 'bigbluebuttonbn').': '.userdate($bigbluebuttonbn->openingtime).
354
-        '</div>'."\n";
355
-    $str .= '  <div class="info">'.get_string('ends_at', 'bigbluebuttonbn').': '.userdate($bigbluebuttonbn->closingtime)
356
-      .'</div>'."\n";
357
-    $str .= '</div>'."\n";
348
+    $str  = '<div class="bigbluebuttonbn overview">' . "\n";
349
+    $str .= '  <div class="name">' . get_string('modulename', 'bigbluebuttonbn') . ':&nbsp;' . "\n";
350
+    $str .= '    <a ' . $classes . 'href="' . $CFG->wwwroot . '/mod/bigbluebuttonbn/view.php?id=' . $bigbluebuttonbn->coursemodule .
351
+      '">' . $bigbluebuttonbn->name . '</a>' . "\n";
352
+    $str .= '  </div>' . "\n";
353
+    $str .= '  <div class="info">' . get_string($start, 'bigbluebuttonbn') . ': ' . userdate($bigbluebuttonbn->openingtime) .
354
+        '</div>' . "\n";
355
+    $str .= '  <div class="info">' . get_string('ends_at', 'bigbluebuttonbn') . ': ' . userdate($bigbluebuttonbn->closingtime)
356
+      .'</div>' . "\n";
357
+    $str .= '</div>' . "\n";
358 358
     return $str;
359 359
 }
360 360
 
@@ -573,7 +573,7 @@  discard block
 block discarded – undo
573 573
     if (count($files) == 1) {
574 574
         // Get the first (and only) file.
575 575
         $file = reset($files);
576
-        $filesrc = '/'.$file->get_filename();
576
+        $filesrc = '/' . $file->get_filename();
577 577
     }
578 578
     return $filesrc;
579 579
 }
@@ -641,7 +641,7 @@  discard block
 block discarded – undo
641 641
     if (!$filename) {
642 642
         return false;
643 643
     }
644
-    $fullpath = "/$context->id/mod_bigbluebuttonbn/$filearea/0/".$filename;
644
+    $fullpath = "/$context->id/mod_bigbluebuttonbn/$filearea/0/" . $filename;
645 645
     $fs = get_file_storage();
646 646
     $file = $fs->get_file_by_hash(sha1($fullpath));
647 647
     if (!$file || $file->is_directory()) {
Please login to merge, or discard this patch.
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
  * @uses FEATURE_GRADE_OUTCOMES
97 97
  * @uses FEATURE_SHOW_DESCRIPTION
98 98
  * @param string $feature
99
- * @return mixed True if yes (some features may use other values)
99
+ * @return null|boolean True if yes (some features may use other values)
100 100
  */
101 101
 function bigbluebuttonbn_supports($feature) {
102 102
     if (!$feature) {
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
  *
182 182
  * @param int $id Id of the module instance
183 183
  *
184
- * @return bool Success/Failure
184
+ * @return boolean|null Success/Failure
185 185
  */
186 186
 function bigbluebuttonbn_delete_instance($id) {
187 187
     global $DB;
@@ -208,7 +208,7 @@  discard block
 block discarded – undo
208 208
  *
209 209
  * @param object $bigbluebuttonbn Id of the module instance
210 210
  *
211
- * @return bool Success/Failure
211
+ * @return boolean|null Success/Failure
212 212
  */
213 213
 function bigbluebuttonbn_delete_instance_log($bigbluebuttonbn) {
214 214
     global $DB;
@@ -231,7 +231,7 @@  discard block
 block discarded – undo
231 231
  * @param object $mod
232 232
  * @param object $bigbluebuttonbn
233 233
  *
234
- * @return bool
234
+ * @return string
235 235
  */
236 236
 function bigbluebuttonbn_user_outline($course, $user, $mod, $bigbluebuttonbn) {
237 237
     global $DB;
@@ -610,7 +610,7 @@  discard block
 block discarded – undo
610 610
  * @param stdClass $context       context object
611 611
  * @param string   $filearea      file area
612 612
  *
613
- * @return false|null false if file not valid
613
+ * @return boolean false if file not valid
614 614
  */
615 615
 function bigbluebuttonbn_pluginfile_valid($context, $filearea) {
616 616
 
Please login to merge, or discard this patch.
classes/privacy/provider.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -212,7 +212,7 @@
 block discarded – undo
212 212
             function($instanceid, $data) use ($user, $instanceidstocmids) {
213 213
                 $context = \context_module::instance($instanceidstocmids[$instanceid]);
214 214
                 $contextdata = helper::get_context_data($context, $user);
215
-                $finaldata = (object) array_merge((array) $contextdata, ['logs' => $data]);
215
+                $finaldata = (object)array_merge((array)$contextdata, ['logs' => $data]);
216 216
                 helper::export_context_files($context, $user);
217 217
                 writer::with_context($context)->export_data([], $finaldata);
218 218
             }
Please login to merge, or discard this patch.
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -61,11 +61,11 @@  discard block
 block discarded – undo
61 61
      */
62 62
     public static function _get_metadata(collection $collection) {
63 63
 
64
-         // The table bigbluebuttonbn stores only the room properties.
65
-         // However, there is a chance that some personal information is stored as metadata.
66
-         // This would be done in the column 'participants' where rules can be set to define BBB roles.
67
-         // It is fair to say that only the userid is stored, which is useless if user is removed.
68
-         // But if this is a concern a refactoring on the way the rules are stored will be required.
64
+            // The table bigbluebuttonbn stores only the room properties.
65
+            // However, there is a chance that some personal information is stored as metadata.
66
+            // This would be done in the column 'participants' where rules can be set to define BBB roles.
67
+            // It is fair to say that only the userid is stored, which is useless if user is removed.
68
+            // But if this is a concern a refactoring on the way the rules are stored will be required.
69 69
         $collection->add_database_table('bigbluebuttonbn', [
70 70
             'participants' => 'privacy:metadata:bigbluebuttonbn:participants',
71 71
         ], 'privacy:metadata:bigbluebuttonbn');
@@ -208,7 +208,7 @@  discard block
 block discarded – undo
208 208
                     'meetingid' => $record->meetingid,
209 209
                     'log' => $record->log,
210 210
                     'meta' => $record->meta,
211
-                  ];
211
+                    ];
212 212
                 return $carry;
213 213
             },
214 214
             function($instanceid, $data) use ($user, $instanceidstocmids) {
Please login to merge, or discard this patch.
classes/external.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@
 block discarded – undo
109 109
      * @since Moodle 3.3
110 110
      */
111 111
     public static function get_bigbluebuttonbns_by_courses_parameters() {
112
-        return new external_function_parameters (
112
+        return new external_function_parameters(
113 113
             array(
114 114
                 'courseids' => new external_multiple_structure(
115 115
                     new external_value(PARAM_INT, 'Course id'), 'Array of course ids', VALUE_DEFAULT, array()
Please login to merge, or discard this patch.
classes/locallib/config.php 2 patches
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -55,8 +55,8 @@  discard block
 block discarded – undo
55 55
      */
56 56
     public static function defaultvalues() {
57 57
         return array(
58
-            'server_url' => (string) BIGBLUEBUTTONBN_DEFAULT_SERVER_URL,
59
-            'shared_secret' => (string) BIGBLUEBUTTONBN_DEFAULT_SHARED_SECRET,
58
+            'server_url' => (string)BIGBLUEBUTTONBN_DEFAULT_SERVER_URL,
59
+            'shared_secret' => (string)BIGBLUEBUTTONBN_DEFAULT_SHARED_SECRET,
60 60
             'voicebridge_editable' => false,
61 61
             'importrecordings_enabled' => false,
62 62
             'importrecordings_from_deleted_enabled' => false,
@@ -124,8 +124,8 @@  discard block
 block discarded – undo
124 124
         if (isset($CFG->bigbluebuttonbn[$setting])) {
125 125
             return (string)$CFG->bigbluebuttonbn[$setting];
126 126
         }
127
-        if (isset($CFG->{'bigbluebuttonbn_'.$setting})) {
128
-            return (string)$CFG->{'bigbluebuttonbn_'.$setting};
127
+        if (isset($CFG->{'bigbluebuttonbn_' . $setting})) {
128
+            return (string)$CFG->{'bigbluebuttonbn_' . $setting};
129 129
         }
130 130
         return self::defaultvalue($setting);
131 131
     }
Please login to merge, or discard this patch.
Indentation   +37 added lines, -37 removed lines patch added patch discarded remove patch
@@ -171,42 +171,42 @@
 block discarded – undo
171 171
      */
172 172
     public static function get_options() {
173 173
         return array(
174
-               'version_major' => self::get_moodle_version_major(),
175
-               'voicebridge_editable' => self::get('voicebridge_editable'),
176
-               'importrecordings_enabled' => self::get('importrecordings_enabled'),
177
-               'importrecordings_from_deleted_enabled' => self::get('importrecordings_from_deleted_enabled'),
178
-               'waitformoderator_default' => self::get('waitformoderator_default'),
179
-               'waitformoderator_editable' => self::get('waitformoderator_editable'),
180
-               'userlimit_default' => self::get('userlimit_default'),
181
-               'userlimit_editable' => self::get('userlimit_editable'),
182
-               'preuploadpresentation_enabled' => self::get('preuploadpresentation_enabled'),
183
-               'sendnotifications_enabled' => self::get('sendnotifications_enabled'),
184
-               'recordings_enabled' => self::get('recordings_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
-          );
174
+                'version_major' => self::get_moodle_version_major(),
175
+                'voicebridge_editable' => self::get('voicebridge_editable'),
176
+                'importrecordings_enabled' => self::get('importrecordings_enabled'),
177
+                'importrecordings_from_deleted_enabled' => self::get('importrecordings_from_deleted_enabled'),
178
+                'waitformoderator_default' => self::get('waitformoderator_default'),
179
+                'waitformoderator_editable' => self::get('waitformoderator_editable'),
180
+                'userlimit_default' => self::get('userlimit_default'),
181
+                'userlimit_editable' => self::get('userlimit_editable'),
182
+                'preuploadpresentation_enabled' => self::get('preuploadpresentation_enabled'),
183
+                'sendnotifications_enabled' => self::get('sendnotifications_enabled'),
184
+                'recordings_enabled' => self::get('recordings_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
 }
Please login to merge, or discard this patch.
classes/event/meeting_ended.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,8 +41,8 @@
 block discarded – undo
41 41
      */
42 42
     protected function init($crud = 'r', $edulevel = self::LEVEL_OTHER) {
43 43
         parent::init($crud, $edulevel);
44
-        $this->description = "A bigbluebutton meeting for the bigbluebuttonbn activity with id ".
45
-            "'##objectid' for the course id '##courseid' has been forcibly ".
44
+        $this->description = "A bigbluebutton meeting for the bigbluebuttonbn activity with id " .
45
+            "'##objectid' for the course id '##courseid' has been forcibly " .
46 46
             "ended by the user with id '##userid'.";
47 47
     }
48 48
 
Please login to merge, or discard this patch.
classes/event/meeting_left.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,8 +41,8 @@
 block discarded – undo
41 41
      */
42 42
     protected function init($crud = 'r', $edulevel = self::LEVEL_PARTICIPATING) {
43 43
         parent::init($crud, $edulevel);
44
-        $this->description = "The user with id '##userid' has left a bigbluebutton meeting for ".
45
-            "the bigbluebuttonbn activity with id '##objectid' for the course id ".
44
+        $this->description = "The user with id '##userid' has left a bigbluebutton meeting for " .
45
+            "the bigbluebuttonbn activity with id '##objectid' for the course id " .
46 46
             "'##courseid'.";
47 47
     }
48 48
 
Please login to merge, or discard this patch.
classes/event/recording_deleted.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
      */
42 42
     protected function init($crud = 'r', $edulevel = self::LEVEL_OTHER) {
43 43
         parent::init($crud, $edulevel);
44
-        $this->description = "The user with id '##userid' has deleted a recording with id ".
44
+        $this->description = "The user with id '##userid' has deleted a recording with id " .
45 45
             "'##other' from the course id '##courseid'.";
46 46
     }
47 47
 
Please login to merge, or discard this patch.
classes/event/recording_edited.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
      */
42 42
     protected function init($crud = 'r', $edulevel = self::LEVEL_OTHER) {
43 43
         parent::init($crud, $edulevel);
44
-        $this->description = "The user with id '##userid' has edited a recording with id ".
44
+        $this->description = "The user with id '##userid' has edited a recording with id " .
45 45
             "'##other' in the course id '##courseid'.";
46 46
     }
47 47
 
Please login to merge, or discard this patch.