Completed
Pull Request — master (#134)
by Jesus
02:04
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.
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.
Spacing   +42 added lines, -42 removed lines patch added patch discarded remove patch
@@ -28,23 +28,23 @@  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
 // JWT is included in Moodle 3.7 core, but a local package is still needed for backward compatibility.
43 43
 if (!class_exists('\Firebase\JWT\JWT')) {
44 44
     if (file_exists($CFG->libdir . '/php-jwt/src/JWT.php')) {
45 45
         require_once($CFG->libdir . '/php-jwt/src/JWT.php');
46 46
     } else {
47
-        require_once($CFG->dirroot.'/mod/bigbluebuttonbn/vendor/firebase/php-jwt/src/JWT.php');
47
+        require_once($CFG->dirroot . '/mod/bigbluebuttonbn/vendor/firebase/php-jwt/src/JWT.php');
48 48
     }
49 49
 }
50 50
 
@@ -52,8 +52,8 @@  discard block
 block discarded – undo
52 52
     $CFG->bigbluebuttonbn = array();
53 53
 }
54 54
 
55
-if (file_exists(dirname(__FILE__).'/config.php')) {
56
-    require_once(dirname(__FILE__).'/config.php');
55
+if (file_exists(dirname(__FILE__) . '/config.php')) {
56
+    require_once(dirname(__FILE__) . '/config.php');
57 57
 }
58 58
 
59 59
 /*
@@ -106,18 +106,18 @@  discard block
 block discarded – undo
106 106
         return null;
107 107
     }
108 108
     $features = array(
109
-        (string) FEATURE_IDNUMBER => true,
110
-        (string) FEATURE_GROUPS => true,
111
-        (string) FEATURE_GROUPINGS => true,
112
-        (string) FEATURE_GROUPMEMBERSONLY => true,
113
-        (string) FEATURE_MOD_INTRO => true,
114
-        (string) FEATURE_BACKUP_MOODLE2 => true,
115
-        (string) FEATURE_COMPLETION_TRACKS_VIEWS => true,
116
-        (string) FEATURE_GRADE_HAS_GRADE => false,
117
-        (string) FEATURE_GRADE_OUTCOMES => false,
118
-        (string) FEATURE_SHOW_DESCRIPTION => true,
109
+        (string)FEATURE_IDNUMBER => true,
110
+        (string)FEATURE_GROUPS => true,
111
+        (string)FEATURE_GROUPINGS => true,
112
+        (string)FEATURE_GROUPMEMBERSONLY => true,
113
+        (string)FEATURE_MOD_INTRO => true,
114
+        (string)FEATURE_BACKUP_MOODLE2 => true,
115
+        (string)FEATURE_COMPLETION_TRACKS_VIEWS => true,
116
+        (string)FEATURE_GRADE_HAS_GRADE => false,
117
+        (string)FEATURE_GRADE_OUTCOMES => false,
118
+        (string)FEATURE_SHOW_DESCRIPTION => true,
119 119
     );
120
-    if (isset($features[(string) $feature])) {
120
+    if (isset($features[(string)$feature])) {
121 121
         return $features[$feature];
122 122
     }
123 123
     return null;
@@ -216,7 +216,7 @@  discard block
 block discarded – undo
216 216
 function bigbluebuttonbn_delete_instance_log($bigbluebuttonbn) {
217 217
     global $DB;
218 218
     $sql  = "SELECT * FROM {bigbluebuttonbn_logs} ";
219
-    $sql .= "WHERE bigbluebuttonbnid = ? AND log = ? AND ". $DB->sql_compare_text('meta') . " = ?";
219
+    $sql .= "WHERE bigbluebuttonbnid = ? AND log = ? AND " . $DB->sql_compare_text('meta') . " = ?";
220 220
     $logs = $DB->get_records_sql($sql, array($bigbluebuttonbn->id, BIGBLUEBUTTONBN_LOG_EVENT_CREATE, "{\"record\":true}"));
221 221
     $meta = "{\"has_recordings\":" . empty($logs) ? "true" : "false" . "}";
222 222
     bigbluebuttonbn_log($bigbluebuttonbn, BIGBLUEBUTTONBN_LOG_EVENT_DELETE, [], $meta);
@@ -239,10 +239,10 @@  discard block
 block discarded – undo
239 239
 function bigbluebuttonbn_user_outline($course, $user, $mod, $bigbluebuttonbn) {
240 240
     global $DB;
241 241
     $completed = $DB->count_records('bigbluebuttonbn_logs', array('courseid' => $course->id,
242
-        'bigbluebuttonbnid' => $bigbluebuttonbn->id, 'userid' => $user->id, 'log' => 'Join', ), '*');
242
+        'bigbluebuttonbnid' => $bigbluebuttonbn->id, 'userid' => $user->id, 'log' => 'Join',), '*');
243 243
     if ($completed > 0) {
244
-        return fullname($user).' '.get_string('view_message_has_joined', 'bigbluebuttonbn').' '.
245
-            get_string('view_message_session_for', 'bigbluebuttonbn').' '.(string) $completed.' '.
244
+        return fullname($user) . ' ' . get_string('view_message_has_joined', 'bigbluebuttonbn') . ' ' .
245
+            get_string('view_message_session_for', 'bigbluebuttonbn') . ' ' . (string)$completed . ' ' .
246 246
             get_string('view_message_times', 'bigbluebuttonbn');
247 247
     }
248 248
     return '';
@@ -262,7 +262,7 @@  discard block
 block discarded – undo
262 262
 function bigbluebuttonbn_user_complete($course, $user, $mod, $bigbluebuttonbn) {
263 263
     global $DB;
264 264
     $completed = $DB->count_records('bigbluebuttonbn_logs', array('courseid' => $course->id,
265
-        'bigbluebuttonbnid' => $bigbluebuttonbn->id, 'userid' => $user->id, 'log' => 'Join', ),
265
+        'bigbluebuttonbnid' => $bigbluebuttonbn->id, 'userid' => $user->id, 'log' => 'Join',),
266 266
         '*', IGNORE_MULTIPLE);
267 267
     return $completed > 0;
268 268
 }
@@ -423,7 +423,7 @@  discard block
 block discarded – undo
423 423
  * @return array status array
424 424
  */
425 425
 function bigbluebuttonbn_reset_recordings($courseid) {
426
-    require_once(__DIR__.'/locallib.php');
426
+    require_once(__DIR__ . '/locallib.php');
427 427
     // Criteria for search [courseid | bigbluebuttonbn=null | subset=false | includedeleted=true].
428 428
     $recordings = bigbluebuttonbn_get_recordings($courseid, null, false, true);
429 429
     // Remove all the recordings.
@@ -491,16 +491,16 @@  discard block
 block discarded – undo
491 491
     if ($bigbluebuttonbn->visible) {
492 492
         $classes = 'class="dimmed" ';
493 493
     }
494
-    $str  = '<div class="bigbluebuttonbn overview">'."\n";
495
-    $str .= '  <div class="name">'.get_string('modulename', 'bigbluebuttonbn').':&nbsp;'."\n";
496
-    $str .= '    <a '.$classes.'href="'.$CFG->wwwroot.'/mod/bigbluebuttonbn/view.php?id='.$bigbluebuttonbn->coursemodule.
497
-      '">'.$bigbluebuttonbn->name.'</a>'."\n";
498
-    $str .= '  </div>'."\n";
499
-    $str .= '  <div class="info">'.get_string($start, 'bigbluebuttonbn').': '.userdate($bigbluebuttonbn->openingtime).
500
-        '</div>'."\n";
501
-    $str .= '  <div class="info">'.get_string('ends_at', 'bigbluebuttonbn').': '.userdate($bigbluebuttonbn->closingtime)
502
-      .'</div>'."\n";
503
-    $str .= '</div>'."\n";
494
+    $str  = '<div class="bigbluebuttonbn overview">' . "\n";
495
+    $str .= '  <div class="name">' . get_string('modulename', 'bigbluebuttonbn') . ':&nbsp;' . "\n";
496
+    $str .= '    <a ' . $classes . 'href="' . $CFG->wwwroot . '/mod/bigbluebuttonbn/view.php?id=' . $bigbluebuttonbn->coursemodule .
497
+      '">' . $bigbluebuttonbn->name . '</a>' . "\n";
498
+    $str .= '  </div>' . "\n";
499
+    $str .= '  <div class="info">' . get_string($start, 'bigbluebuttonbn') . ': ' . userdate($bigbluebuttonbn->openingtime) .
500
+        '</div>' . "\n";
501
+    $str .= '  <div class="info">' . get_string('ends_at', 'bigbluebuttonbn') . ': ' . userdate($bigbluebuttonbn->closingtime)
502
+      .'</div>' . "\n";
503
+    $str .= '</div>' . "\n";
504 504
     return $str;
505 505
 }
506 506
 
@@ -732,7 +732,7 @@  discard block
 block discarded – undo
732 732
     if (count($files) == 1) {
733 733
         // Get the first (and only) file.
734 734
         $file = reset($files);
735
-        $filesrc = '/'.$file->get_filename();
735
+        $filesrc = '/' . $file->get_filename();
736 736
     }
737 737
     return $filesrc;
738 738
 }
@@ -801,7 +801,7 @@  discard block
 block discarded – undo
801 801
     if (!$filename) {
802 802
         return false;
803 803
     }
804
-    $fullpath = "/$context->id/mod_bigbluebuttonbn/$filearea/0/".$filename;
804
+    $fullpath = "/$context->id/mod_bigbluebuttonbn/$filearea/0/" . $filename;
805 805
     $fs = get_file_storage();
806 806
     $file = $fs->get_file_by_hash(sha1($fullpath));
807 807
     if (!$file || $file->is_directory()) {
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.