@@ -40,7 +40,7 @@ |
||
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 |
@@ -40,8 +40,8 @@ |
||
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 |
@@ -40,8 +40,8 @@ |
||
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 |
@@ -26,7 +26,7 @@ |
||
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. |
@@ -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 | } |