From e629bd3ff37049f2b2803e71178819b326273e6b Mon Sep 17 00:00:00 2001 From: Ashley Holman Date: Mon, 14 Jul 2014 18:47:38 +0930 Subject: [PATCH] MDL-46356 assign: remove unnecessary get_area_files call --- mod/assign/locallib.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/mod/assign/locallib.php b/mod/assign/locallib.php index e5b2873e7a0..cb7918642d8 100644 --- a/mod/assign/locallib.php +++ b/mod/assign/locallib.php @@ -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); } -- 2.43.0