function _multichoice_alter_user_answers2 in Quiz 7
Same name and namespace in other branches
- 8.4 question_types/multichoice/multichoice_update_6400.inc \_multichoice_alter_user_answers2()
- 6.4 question_types/multichoice/multichoice_update_6400.inc \_multichoice_alter_user_answers2()
- 7.4 question_types/multichoice/multichoice_update_6400.inc \_multichoice_alter_user_answers2()
We delete fields not needed after the user_answer data was moved from the old data model
Parameters
$to_return: Array where progress can be reported
$sandbox: Array where persistent data can be stored, and progress can be found
File
- question_types/
multichoice/ multichoice_update_6400.inc, line 155
Code
function _multichoice_alter_user_answers2(&$to_return, &$sandbox = NULL) {
db_drop_field('quiz_multichoice_user_answers', 'answer_id');
}