protected function delete_response_files($contextid, $itemidstest, $params) {
        $fs = get_file_storage();
        foreach (question_engine::get_all_response_file_areas() as $filearea) {
            $fs->delete_area_files_select($contextid, 'question', $filearea,
                    $itemidstest, $params);
        }
    }
protected function delete_response_files($contextid, $itemidstest, $params) {
        $fs = get_file_storage();
        foreach (question_engine::get_all_response_file_areas() as $filearea) {
            $fs->delete_area_files_select($contextid, 'question', $filearea,
                    $itemidstest, $params);
        }
    }
protected function delete_response_files ( $ contextid , $ itemidstest , $ params ) { $ fs = get_file_storage ( ) ; foreach ( question_engine :: get_all_response_file_areas ( ) as $ filearea ) { $ fs -> delete_area_files_select ( $ contextid , 'question' , $ filearea , $ itemidstest , $ params ) ; } }
Delete all the files belonging to the response variables in the gives
question attempt steps.
@param int $contextid the context these attempts belong to.
@param string $itemidstest a bit of SQL that can be used in a
WHERE itemid $itemidstest clause. Must use named params.
@param array $params any query parameters used in $itemidstest.
Delete all the files belonging to the response variables in the gives question attempt steps .