Skip to content

Commit

Permalink
MDL-46587 files: Invalid $itemid conversion in core_files_get_files W…
Browse files Browse the repository at this point in the history
…eb Service
  • Loading branch information
jleyva committed Sep 5, 2014
1 parent 457f818 commit ff831a4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions files/externallib.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,6 @@ public static function get_files($contextid, $component, $filearea, $itemid, $fi
if (empty($fileinfo['filearea'])) {
$fileinfo['filearea'] = null;
}
if (empty($fileinfo['itemid'])) {
$fileinfo['itemid'] = null;
}
if (empty($fileinfo['filename'])) {
$fileinfo['filename'] = null;
}
Expand Down

0 comments on commit ff831a4

Please sign in to comment.