3 // THIS FILE IS DEPRECATED! PLEASE DO NOT MAKE CHANGES TO IT!
5 // IT IS USED ONLY FOR UPGRADES FROM BEFORE MOODLE 1.7, ALL
6 // LATER CHANGES SHOULD USE upgrade.php IN THIS DIRECTORY.
8 // PostgreSQL commands for upgrading this question type
10 function qtype_multichoice_upgrade($oldversion=0) {
14 if ($success && $oldversion < 2006081900) {
15 $success = $success && table_column('question_multichoice', '', 'correctfeedback', 'text', '', '', '');
16 $success = $success && table_column('question_multichoice', '', 'partiallycorrectfeedback', 'text', '', '', '');
17 $success = $success && table_column('question_multichoice', '', 'incorrectfeedback', 'text', '', '', '');
20 ////// DO NOT ADD NEW THINGS HERE!! USE upgrade.php and the lib/ddllib.php functions.