mirror of
https://github.com/moodle/moodle.git
synced 2025-01-22 08:11:26 +01:00
17 lines
355 B
PHP
17 lines
355 B
PHP
<?PHP // $Id$
|
|
|
|
function quiz_upgrade($oldversion) {
|
|
// This function does anything necessary to upgrade
|
|
// older versions to match current functionality
|
|
|
|
global $CFG;
|
|
|
|
if ($oldversion < 2003010100) {
|
|
execute_sql(" ALTER TABLE {$CFG->prefix}quiz ADD review integer DEFAULT '0' NOT NULL AFTER `grademethod` ");
|
|
}
|
|
|
|
return true;
|
|
}
|
|
|
|
?>
|