Skip to content

Commit

Permalink
fixed incorrect comments, thanks Dongsheng
Browse files Browse the repository at this point in the history
  • Loading branch information
skodak committed Jul 7, 2010
1 parent bd67616 commit d811bd8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions files/externallib.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ public static function get_files($fileinfo) {
$params = $child->get_params();
if ($child->is_directory()) {
$node = array(
//TODO: this is wrong, you need to fetch info from the child node!!!!
'contextid' => $params['contextid'],
'component' => $params['component'],
'filearea' => $params['filearea'],
Expand All @@ -113,7 +112,6 @@ public static function get_files($fileinfo) {
$list[] = $node;
} else {
$node = array(
//TODO: this is wrong, you need to fetch info from the child node!!!!
'contextid' => $params['contextid'],
'component' => $params['component'],
'filearea' => $params['filearea'],
Expand Down

0 comments on commit d811bd8

Please sign in to comment.