public function remove(stdClass $submission) {
        $fs = get_file_storage();

        $fs->delete_area_files($this->assignment->get_context()->id,
                               'assignsubmission_file',
                               ASSIGNSUBMISSION_FILE_FILEAREA,
                               $submission->id);
        return true;
    }
public function remove(stdClass $submission) {
        $fs = get_file_storage();

        $fs->delete_area_files($this->assignment->get_context()->id,
                               'assignsubmission_file',
                               ASSIGNSUBMISSION_FILE_FILEAREA,
                               $submission->id);
        return true;
    }
public function remove ( stdClass $ submission ) { $ fs = get_file_storage ( ) ; $ fs -> delete_area_files ( $ this -> assignment -> get_context ( ) -> id , 'assignsubmission_file' , ASSIGNSUBMISSION_FILE_FILEAREA , $ submission -> id ) ; return true ; }
Remove files from this submission.

@param stdClass $submission The submission
@return boolean
Remove files from this submission .