MDL-11517 reserved word MOD used in table alias in questions backup code
[moodle-pu.git] / question / type / multichoice / db / mysql.php
blob271b09cf8283c0937a2ff3b7d7b550ad3e125263
1 <?php //$Id$
3 // THIS FILE IS DEPRECATED! PLEASE DO NOT MAKE CHANGES TO IT!
4 //
5 // IT IS USED ONLY FOR UPGRADES FROM BEFORE MOODLE 1.7, ALL
6 // LATER CHANGES SHOULD USE upgrade.php IN THIS DIRECTORY.
8 // MySQL commands for upgrading this question type
10 function qtype_multichoice_upgrade($oldversion=0) {
11 global $CFG;
12 $success = true;
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.
22 return $success;