Completed
Pull Request — v2.2-stable (#74)
by
unknown
03:30
created
classes/event/bigbluebuttonbn_recording_unprotected.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() {
42 42
         parent::init();
43
-        $this->description = "The user with id '##userid' has unprotected a recording with id ".
43
+        $this->description = "The user with id '##userid' has unprotected a recording with id " .
44 44
             "'##other' in the course id '##contextinstanceid'.";
45 45
     }
46 46
 
Please login to merge, or discard this patch.
classes/event/bigbluebuttonbn_recording_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() {
42 42
         parent::init();
43
-        $this->description = "The user with id '##userid' has viewed a recording with id ".
43
+        $this->description = "The user with id '##userid' has viewed a recording with id " .
44 44
             "'##other' from the course id '##contextinstanceid'.";
45 45
     }
46 46
 
Please login to merge, or discard this patch.
classes/event/bigbluebuttonbn_recording_unpublished.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() {
42 42
         parent::init();
43
-        $this->description = "The user with id '##userid' has unpublished a recording with id ".
43
+        $this->description = "The user with id '##userid' has unpublished a recording with id " .
44 44
             "'##other' in the course id '##contextinstanceid'.";
45 45
     }
46 46
 
Please login to merge, or discard this patch.
classes/event/base.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
             'objectid' => $this->objectid,
81 81
             'contextinstanceid' => $this->contextinstanceid,
82 82
             'other' => $this->other
83
-          );
83
+            );
84 84
         $string = $this->description;
85 85
         foreach ($vars as $key => $value) {
86 86
             $string = str_replace("##" . $key, $value, $string);
Please login to merge, or discard this patch.
classes/event/bigbluebuttonbn_recording_protected.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() {
42 42
         parent::init();
43
-        $this->description = "The user with id '##userid' has protected a recording with id ".
43
+        $this->description = "The user with id '##userid' has protected a recording with id " .
44 44
             "'##other' in the course id '##contextinstanceid'.";
45 45
     }
46 46
 
Please login to merge, or discard this patch.
classes/event/bigbluebuttonbn_live_session_event.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,8 +40,8 @@
 block discarded – undo
40 40
      */
41 41
     protected function init() {
42 42
         parent::init();
43
-        $this->description = "The user with id '##userid' triggered action ##other in a ".
44
-        "bigbluebutton meeting for the bigbluebuttonbn activity with id ".
43
+        $this->description = "The user with id '##userid' triggered action ##other in a " .
44
+        "bigbluebutton meeting for the bigbluebuttonbn activity with id " .
45 45
         "'##objectid' for the course id '##contextinstanceid'.";
46 46
     }
47 47
 
Please login to merge, or discard this patch.
classes/event/bigbluebuttonbn_meeting_joined.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,8 +40,8 @@
 block discarded – undo
40 40
      */
41 41
     protected function init() {
42 42
         parent::init();
43
-        $this->description = "The user with id '##userid' has joined a bigbluebutton meeting for ".
44
-            "the bigbluebuttonbn activity with id '##objectid' for the course id ".
43
+        $this->description = "The user with id '##userid' has joined a bigbluebutton meeting for " .
44
+            "the bigbluebuttonbn activity with id '##objectid' for the course id " .
45 45
             "'##contextinstanceid'.";
46 46
     }
47 47
 
Please login to merge, or discard this patch.
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.
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.