gradebook MDL-25887 removed some commented out code
authorandyjdavis <andrew@moodle.com>
Tue, 11 Jan 2011 03:58:02 +0000 (11:58 +0800)
committerandyjdavis <andrew@moodle.com>
Tue, 11 Jan 2011 03:58:02 +0000 (11:58 +0800)
grade/import/csv/index.php

index 4e94acb..0201bb3 100644 (file)
@@ -89,7 +89,7 @@ if ($importcode = optional_param('importcode', '', PARAM_FILE)) {
     $filename = $CFG->dataroot.'/temp/gradeimport/cvs/'.$USER->id.'/'.$importcode;
     $fp = fopen($filename, "r");
     $headers = fgets($fp,GRADE_CSV_LINE_LENGTH);
     $filename = $CFG->dataroot.'/temp/gradeimport/cvs/'.$USER->id.'/'.$importcode;
     $fp = fopen($filename, "r");
     $headers = fgets($fp,GRADE_CSV_LINE_LENGTH);
-    $header = explode($csv_delimiter, $headers);//, PARAM_RAW
+    $header = explode($csv_delimiter, $headers);
 }
 
 $mform2 = new grade_import_mapping_form(null, array('gradeitems'=>$gradeitems, 'header'=>$header));
 }
 
 $mform2 = new grade_import_mapping_form(null, array('gradeitems'=>$gradeitems, 'header'=>$header));