fixed incorrect comments, thanks Dongsheng
authorPetr Skoda <skodak@moodle.org>
Wed, 7 Jul 2010 07:43:28 +0000 (07:43 +0000)
committerPetr Skoda <skodak@moodle.org>
Wed, 7 Jul 2010 07:43:28 +0000 (07:43 +0000)
files/externallib.php

index e1a488e..dff8b15 100755 (executable)
@@ -100,7 +100,6 @@ throw new coding_exception('File browsing api function is not implemented yet, s
                     $params = $child->get_params();
                     if ($child->is_directory()) {
                         $node = array(
                     $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'],
                             'contextid' => $params['contextid'],
                             'component' => $params['component'],
                             'filearea'  => $params['filearea'],
@@ -113,7 +112,6 @@ throw new coding_exception('File browsing api function is not implemented yet, s
                         $list[] = $node;
                     } else {
                         $node = array(
                         $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'],
                             'contextid' => $params['contextid'],
                             'component' => $params['component'],
                             'filearea'  => $params['filearea'],