MDL-54687 core_message: removed unused function and data attribute
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user