@@ -59,11 +59,11 @@ discard block |
||
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 |
||
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) { |
@@ -212,7 +212,7 @@ |
||
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 | } |