Completed
Pull Request — v2.2-stable (#51)
by Jesus
07:32
created
classes/privacy/provider.php 2 patches
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -59,11 +59,11 @@  discard block
 block discarded – undo
59 59
      */
60 60
     public static function _get_metadata(collection $collection) : collection {
61 61
 
62
-         // The table bigbluebuttonbn stores only the room properties.
63
-         // However, there is a chance that some personal information is stored as metadata.
64
-         // This would be done in the column 'participants' where rules can be set to define BBB roles.
65
-         // It is fair to say that only the userid is stored, which is useless if user is removed.
66
-         // But if this is a concern a refactoring on the way the rules are stored will be required.
62
+            // The table bigbluebuttonbn stores only the room properties.
63
+            // However, there is a chance that some personal information is stored as metadata.
64
+            // This would be done in the column 'participants' where rules can be set to define BBB roles.
65
+            // It is fair to say that only the userid is stored, which is useless if user is removed.
66
+            // But if this is a concern a refactoring on the way the rules are stored will be required.
67 67
         $collection->add_database_table('bigbluebuttonbn', [
68 68
             'participants' => 'privacy:metadata:bigbluebuttonbn:participants',
69 69
         ], 'privacy:metadata:bigbluebuttonbn');
@@ -206,7 +206,7 @@  discard block
 block discarded – undo
206 206
                     'meetingid' => $record->meetingid,
207 207
                     'log' => $record->log,
208 208
                     'meta' => $record->meta,
209
-                  ];
209
+                    ];
210 210
                 return $carry;
211 211
             },
212 212
             function($instanceid, $data) use ($user, $instanceidstocmids) {
Please login to merge, or discard this patch.
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.