d9c46ea13967dd8bd60e916fd9b742182633e629
[moodle.git] / mod / assignment / db / upgrade.php
1 <?php
3 // This file keeps track of upgrades to
4 // the assignment module
5 //
6 // Sometimes, changes between versions involve
7 // alterations to database structures and other
8 // major things that may break installations.
9 //
10 // The upgrade function in this file will attempt
11 // to perform all the necessary actions to upgrade
12 // your older installation to the current version.
13 //
14 // If there's something it cannot do itself, it
15 // will tell you what you need to do.
16 //
17 // The commands in here will all be database-neutral,
18 // using the methods of database_manager class
19 //
20 // Please do not forget to use upgrade_set_timeout()
21 // before any action that may take longer time to finish.
23 function xmldb_assignment_upgrade($oldversion) {
24     global $CFG, $DB, $OUTPUT;
26     $dbman = $DB->get_manager();
29     // Moodle v2.2.0 release upgrade line
30     // Put any upgrade step following this
32     // Moodle v2.3.0 release upgrade line
33     // Put any upgrade step following this
36     return true;
37 }