Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
1c356fe
)
MDL-46356 assign: remove unnecessary get_area_files call
author
Ashley Holman
<dscvlt@gmail.com>
Mon, 14 Jul 2014 09:17:38 +0000
(18:47 +0930)
committer
Dan Poltawski
<dan@moodle.com>
Tue, 25 Nov 2014 14:27:17 +0000
(14:27 +0000)
mod/assign/locallib.php
patch
|
blob
|
blame
|
history
diff --git
a/mod/assign/locallib.php
b/mod/assign/locallib.php
index
e5b2873
..
cb79186
100644
(file)
--- 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);
}