mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 08:22:07 +02:00
MDL-46356 assign: remove unnecessary get_area_files call
This commit is contained in:
parent
1c356fe9d7
commit
e629bd3ff3
@ -4482,14 +4482,6 @@ class assign {
|
||||
public function render_area_files($component, $area, $submissionid) {
|
||||
global $USER;
|
||||
|
||||
$fs = get_file_storage();
|
||||
$browser = get_file_browser();
|
||||
$files = $fs->get_area_files($this->get_context()->id,
|
||||
$component,
|
||||
$area,
|
||||
$submissionid,
|
||||
'timemodified',
|
||||
false);
|
||||
return $this->get_renderer()->assign_files($this->context, $submissionid, $area, $component);
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user