@@ -322,7 +322,7 @@ |
||
322 | 322 | /** |
323 | 323 | * Helper for working around PHP version compatibility. |
324 | 324 | * |
325 | - * @return void |
|
325 | + * @return false|null |
|
326 | 326 | */ |
327 | 327 | protected static function is_context_module() { |
328 | 328 | $base = "context_module"; |
@@ -59,11 +59,11 @@ discard block |
||
59 | 59 | */ |
60 | 60 | public static function _get_metadata(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'); |
@@ -207,7 +207,7 @@ discard block |
||
207 | 207 | 'meetingid' => $record->meetingid, |
208 | 208 | 'log' => $record->log, |
209 | 209 | 'meta' => $record->meta, |
210 | - ]; |
|
210 | + ]; |
|
211 | 211 | return $carry; |
212 | 212 | }, |
213 | 213 | function($instanceid, $data) use ($user, $instanceidstocmids) { |
@@ -331,7 +331,7 @@ discard block |
||
331 | 331 | $base = \context_module::class; |
332 | 332 | } |
333 | 333 | if (!is_a($context, $base)) { |
334 | - return false; |
|
334 | + return false; |
|
335 | 335 | } |
336 | 336 | } |
337 | 337 | } |