@@ -38,7 +38,7 @@ |
||
38 | 38 | * @return string |
39 | 39 | */ |
40 | 40 | public function get_description() { |
41 | - $a = (object) array('userid' => $this->userid, 'bigbluebuttonbnid' => $this->objectid, 'courseid' => $this->contextinstanceid); |
|
41 | + $a = (object)array('userid' => $this->userid, 'bigbluebuttonbnid' => $this->objectid, 'courseid' => $this->contextinstanceid); |
|
42 | 42 | return get_string('event_meeting_ended_description', 'bigbluebuttonbn', $a); |
43 | 43 | } |
44 | 44 |
@@ -38,8 +38,8 @@ |
||
38 | 38 | * @return string |
39 | 39 | */ |
40 | 40 | public function get_description() { |
41 | - $rid = isset($this->other['rid'])? $this->other['rid']: ''; |
|
42 | - $a = (object) array('userid' => $this->userid, 'recordingid' => $rid, 'courseid' => $this->contextinstanceid); |
|
41 | + $rid = isset($this->other['rid']) ? $this->other['rid'] : ''; |
|
42 | + $a = (object)array('userid' => $this->userid, 'recordingid' => $rid, 'courseid' => $this->contextinstanceid); |
|
43 | 43 | return get_string('event_recording_published_description', 'bigbluebuttonbn', $a); |
44 | 44 | } |
45 | 45 |