Completed
Pull Request — master (#56)
by Jesus
13:54
created
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.
lib.php 3 patches
Indentation   +5 added lines, -5 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';
@@ -350,12 +350,12 @@  discard block
 block discarded – undo
350 350
     $str  = '<div class="bigbluebuttonbn overview">'."\n";
351 351
     $str .= '  <div class="name">'.get_string('modulename', 'bigbluebuttonbn').':&nbsp;'."\n";
352 352
     $str .= '    <a '.$classes.'href="'.$CFG->wwwroot.'/mod/bigbluebuttonbn/view.php?id='.$bigbluebuttonbn->coursemodule.
353
-      '">'.$bigbluebuttonbn->name.'</a>'."\n";
353
+        '">'.$bigbluebuttonbn->name.'</a>'."\n";
354 354
     $str .= '  </div>'."\n";
355 355
     $str .= '  <div class="info">'.get_string($start, 'bigbluebuttonbn').': '.userdate($bigbluebuttonbn->openingtime).
356 356
         '</div>'."\n";
357 357
     $str .= '  <div class="info">'.get_string('ends_at', 'bigbluebuttonbn').': '.userdate($bigbluebuttonbn->closingtime)
358
-      .'</div>'."\n";
358
+        .'</div>'."\n";
359 359
     $str .= '</div>'."\n";
360 360
     return $str;
361 361
 }
@@ -540,7 +540,7 @@  discard block
 block discarded – undo
540 540
             $bigbluebuttonbn->coursemodule,
541 541
             'bigbluebuttonbn',
542 542
             $bigbluebuttonbn->id, $bigbluebuttonbn->completionexpected
543
-          );
543
+            );
544 544
     }
545 545
 }
546 546
 /**
@@ -748,7 +748,7 @@  discard block
 block discarded – undo
748 748
  * @return \core_calendar\local\event\entities\action_interface|null
749 749
  */
750 750
 function mod_bigbluebuttonbn_core_calendar_provide_event_action(calendar_event $event,
751
-                                                       \core_calendar\action_factory $factory) {
751
+                                                        \core_calendar\action_factory $factory) {
752 752
     $cm = get_fast_modinfo($event->courseid)->instances['bigbluebuttonbn'][$event->instance];
753 753
 
754 754
     $completion = new \completion_info($cm->get_course());
Please login to merge, or discard this patch.
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
  * @uses FEATURE_GRADE_OUTCOMES
103 103
  * @uses FEATURE_SHOW_DESCRIPTION
104 104
  * @param string $feature
105
- * @return mixed True if yes (some features may use other values)
105
+ * @return null|boolean True if yes (some features may use other values)
106 106
  */
107 107
 function bigbluebuttonbn_supports($feature) {
108 108
     if (!$feature) {
@@ -187,7 +187,7 @@  discard block
 block discarded – undo
187 187
  *
188 188
  * @param int $id Id of the module instance
189 189
  *
190
- * @return bool Success/Failure
190
+ * @return boolean|null Success/Failure
191 191
  */
192 192
 function bigbluebuttonbn_delete_instance($id) {
193 193
     global $DB;
@@ -214,7 +214,7 @@  discard block
 block discarded – undo
214 214
  *
215 215
  * @param object $bigbluebuttonbn Id of the module instance
216 216
  *
217
- * @return bool Success/Failure
217
+ * @return boolean|null Success/Failure
218 218
  */
219 219
 function bigbluebuttonbn_delete_instance_log($bigbluebuttonbn) {
220 220
     global $DB;
@@ -235,7 +235,7 @@  discard block
 block discarded – undo
235 235
  * @param object $mod
236 236
  * @param object $bigbluebuttonbn
237 237
  *
238
- * @return bool
238
+ * @return string
239 239
  */
240 240
 function bigbluebuttonbn_user_outline($course, $user, $mod, $bigbluebuttonbn) {
241 241
     global $DB;
@@ -592,7 +592,7 @@  discard block
 block discarded – undo
592 592
  * @param stdClass $context       context object
593 593
  * @param string   $filearea      file area
594 594
  *
595
- * @return false|null false if file not valid
595
+ * @return boolean false if file not valid
596 596
  */
597 597
 function bigbluebuttonbn_pluginfile_valid($context, $filearea) {
598 598
     if ($context->contextlevel != CONTEXT_MODULE) {
Please login to merge, or discard this patch.
Spacing   +42 added lines, -42 removed lines patch added patch discarded remove patch
@@ -28,28 +28,28 @@  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
-if (file_exists(dirname(__FILE__).'/vendor/firebase/php-jwt/src/JWT.php')) {
44
-    require_once(dirname(__FILE__).'/vendor/firebase/php-jwt/src/JWT.php');
43
+if (file_exists(dirname(__FILE__) . '/vendor/firebase/php-jwt/src/JWT.php')) {
44
+    require_once(dirname(__FILE__) . '/vendor/firebase/php-jwt/src/JWT.php');
45 45
 }
46 46
 
47 47
 if (!isset($CFG->bigbluebuttonbn)) {
48 48
     $CFG->bigbluebuttonbn = array();
49 49
 }
50 50
 
51
-if (file_exists(dirname(__FILE__).'/config.php')) {
52
-    require_once(dirname(__FILE__).'/config.php');
51
+if (file_exists(dirname(__FILE__) . '/config.php')) {
52
+    require_once(dirname(__FILE__) . '/config.php');
53 53
 }
54 54
 
55 55
 /*
@@ -101,18 +101,18 @@  discard block
 block discarded – undo
101 101
         return null;
102 102
     }
103 103
     $features = array(
104
-        (string) FEATURE_IDNUMBER => true,
105
-        (string) FEATURE_GROUPS => true,
106
-        (string) FEATURE_GROUPINGS => true,
107
-        (string) FEATURE_GROUPMEMBERSONLY => true,
108
-        (string) FEATURE_MOD_INTRO => true,
109
-        (string) FEATURE_BACKUP_MOODLE2 => true,
110
-        (string) FEATURE_COMPLETION_TRACKS_VIEWS => true,
111
-        (string) FEATURE_GRADE_HAS_GRADE => false,
112
-        (string) FEATURE_GRADE_OUTCOMES => false,
113
-        (string) FEATURE_SHOW_DESCRIPTION => true,
104
+        (string)FEATURE_IDNUMBER => true,
105
+        (string)FEATURE_GROUPS => true,
106
+        (string)FEATURE_GROUPINGS => true,
107
+        (string)FEATURE_GROUPMEMBERSONLY => true,
108
+        (string)FEATURE_MOD_INTRO => true,
109
+        (string)FEATURE_BACKUP_MOODLE2 => true,
110
+        (string)FEATURE_COMPLETION_TRACKS_VIEWS => true,
111
+        (string)FEATURE_GRADE_HAS_GRADE => false,
112
+        (string)FEATURE_GRADE_OUTCOMES => false,
113
+        (string)FEATURE_SHOW_DESCRIPTION => true,
114 114
     );
115
-    if (isset($features[(string) $feature])) {
115
+    if (isset($features[(string)$feature])) {
116 116
         return $features[$feature];
117 117
     }
118 118
     return null;
@@ -211,7 +211,7 @@  discard block
 block discarded – undo
211 211
 function bigbluebuttonbn_delete_instance_log($bigbluebuttonbn) {
212 212
     global $DB;
213 213
     $sql  = "SELECT * FROM {bigbluebuttonbn_logs} ";
214
-    $sql .= "WHERE bigbluebuttonbnid = ? AND log = ? AND ". $DB->sql_compare_text('meta') . " = ?";
214
+    $sql .= "WHERE bigbluebuttonbnid = ? AND log = ? AND " . $DB->sql_compare_text('meta') . " = ?";
215 215
     $logs = $DB->get_records_sql($sql, array($bigbluebuttonbn->id, BIGBLUEBUTTONBN_LOG_EVENT_CREATE, "{\"record\":true}"));
216 216
     $meta = "{\"has_recordings\":" . empty($logs) ? "true" : "false" . "}";
217 217
     bigbluebuttonbn_log($bigbluebuttonbn, BIGBLUEBUTTONBN_LOG_EVENT_DELETE, [], $meta);
@@ -234,10 +234,10 @@  discard block
 block discarded – undo
234 234
 function bigbluebuttonbn_user_outline($course, $user, $mod, $bigbluebuttonbn) {
235 235
     global $DB;
236 236
     $completed = $DB->count_records('bigbluebuttonbn_logs', array('courseid' => $course->id,
237
-        'bigbluebuttonbnid' => $bigbluebuttonbn->id, 'userid' => $user->id, 'log' => 'Join', ), '*');
237
+        'bigbluebuttonbnid' => $bigbluebuttonbn->id, 'userid' => $user->id, 'log' => 'Join',), '*');
238 238
     if ($completed > 0) {
239
-        return fullname($user).' '.get_string('view_message_has_joined', 'bigbluebuttonbn').' '.
240
-            get_string('view_message_session_for', 'bigbluebuttonbn').' '.(string) $completed.' '.
239
+        return fullname($user) . ' ' . get_string('view_message_has_joined', 'bigbluebuttonbn') . ' ' .
240
+            get_string('view_message_session_for', 'bigbluebuttonbn') . ' ' . (string)$completed . ' ' .
241 241
             get_string('view_message_times', 'bigbluebuttonbn');
242 242
     }
243 243
     return '';
@@ -257,7 +257,7 @@  discard block
 block discarded – undo
257 257
 function bigbluebuttonbn_user_complete($course, $user, $mod, $bigbluebuttonbn) {
258 258
     global $DB;
259 259
     $completed = $DB->count_records('bigbluebuttonbn_logs', array('courseid' => $course->id,
260
-        'bigbluebuttonbnid' => $bigbluebuttonbn->id, 'userid' => $user->id, 'log' => 'Join', ),
260
+        'bigbluebuttonbnid' => $bigbluebuttonbn->id, 'userid' => $user->id, 'log' => 'Join',),
261 261
         '*', IGNORE_MULTIPLE);
262 262
     return $completed > 0;
263 263
 }
@@ -332,16 +332,16 @@  discard block
 block discarded – undo
332 332
     if ($bigbluebuttonbn->visible) {
333 333
         $classes = 'class="dimmed" ';
334 334
     }
335
-    $str  = '<div class="bigbluebuttonbn overview">'."\n";
336
-    $str .= '  <div class="name">'.get_string('modulename', 'bigbluebuttonbn').':&nbsp;'."\n";
337
-    $str .= '    <a '.$classes.'href="'.$CFG->wwwroot.'/mod/bigbluebuttonbn/view.php?id='.$bigbluebuttonbn->coursemodule.
338
-      '">'.$bigbluebuttonbn->name.'</a>'."\n";
339
-    $str .= '  </div>'."\n";
340
-    $str .= '  <div class="info">'.get_string($start, 'bigbluebuttonbn').': '.userdate($bigbluebuttonbn->openingtime).
341
-        '</div>'."\n";
342
-    $str .= '  <div class="info">'.get_string('ends_at', 'bigbluebuttonbn').': '.userdate($bigbluebuttonbn->closingtime)
343
-      .'</div>'."\n";
344
-    $str .= '</div>'."\n";
335
+    $str  = '<div class="bigbluebuttonbn overview">' . "\n";
336
+    $str .= '  <div class="name">' . get_string('modulename', 'bigbluebuttonbn') . ':&nbsp;' . "\n";
337
+    $str .= '    <a ' . $classes . 'href="' . $CFG->wwwroot . '/mod/bigbluebuttonbn/view.php?id=' . $bigbluebuttonbn->coursemodule .
338
+      '">' . $bigbluebuttonbn->name . '</a>' . "\n";
339
+    $str .= '  </div>' . "\n";
340
+    $str .= '  <div class="info">' . get_string($start, 'bigbluebuttonbn') . ': ' . userdate($bigbluebuttonbn->openingtime) .
341
+        '</div>' . "\n";
342
+    $str .= '  <div class="info">' . get_string('ends_at', 'bigbluebuttonbn') . ': ' . userdate($bigbluebuttonbn->closingtime)
343
+      .'</div>' . "\n";
344
+    $str .= '</div>' . "\n";
345 345
     return $str;
346 346
 }
347 347
 
@@ -559,7 +559,7 @@  discard block
 block discarded – undo
559 559
     if (count($files) == 1) {
560 560
         // Get the first (and only) file.
561 561
         $file = reset($files);
562
-        $filesrc = '/'.$file->get_filename();
562
+        $filesrc = '/' . $file->get_filename();
563 563
     }
564 564
     return $filesrc;
565 565
 }
@@ -627,7 +627,7 @@  discard block
 block discarded – undo
627 627
     if (!$filename) {
628 628
         return false;
629 629
     }
630
-    $fullpath = "/$context->id/mod_bigbluebuttonbn/$filearea/0/".$filename;
630
+    $fullpath = "/$context->id/mod_bigbluebuttonbn/$filearea/0/" . $filename;
631 631
     $fs = get_file_storage();
632 632
     $file = $fs->get_file_by_hash(sha1($fullpath));
633 633
     if (!$file || $file->is_directory()) {
Please login to merge, or discard this patch.
classes/locallib/config.php 2 patches
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.
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.
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.
classes/event/bigbluebuttonbn_activity_management_viewed.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
      */
41 41
     protected function init($crud = 'r', $edulevel = self::LEVEL_PARTICIPATING) {
42 42
         parent::init($crud, $edulevel);
43
-        $this->description = "The user with id '##userid' viewed the bigbluebuttonbn activity management page for ".
43
+        $this->description = "The user with id '##userid' viewed the bigbluebuttonbn activity management page for " .
44 44
         "the course module id '##contextinstanceid'.";
45 45
     }
46 46
 
Please login to merge, or discard this patch.
classes/event/recording_published.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 published a recording with id ".
44
+        $this->description = "The user with id '##userid' has published a recording with id " .
45 45
             "'##other' in the course id '##courseid'.";
46 46
     }
47 47
 
Please login to merge, or discard this patch.