mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 17:06:53 +02:00
MDL-54687 core_message: removed unused function and data attribute
This commit is contained in:
parent
358717d59e
commit
6d3445de77
3 changed files with 1 additions and 13 deletions
|
@ -65,10 +65,7 @@ class message_area implements templatable, renderable {
|
|||
}
|
||||
|
||||
public function export_for_template(\renderer_base $output) {
|
||||
global $USER;
|
||||
|
||||
$data = new \stdClass();
|
||||
$data->loggedinuserid = $USER->id;
|
||||
$data->userid = $this->userid;
|
||||
$data->contacts = $this->contacts->export_for_template($output);
|
||||
if ($this->messages) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue