by Benjamin St.Germain.
Sounds like typo in the attempt to comment out the function. You can do a multi-line comment as shown above, or individual line comments with two forward slashes:
//if ($sourcefullpath !== clean_param($sourcefullpath, PARAM_PATH)) {
// throw new moodle1_convert_exception('file_invalid_path', $sourcefullpath);
//}