Moodle release 2.3
[moodle.git] / mod / assignment / db / upgrade.php
CommitLineData
e7521559 1<?php
b8a342d7 2
45fa3412 3// This file keeps track of upgrades to
b8a342d7 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
2e0406a5 12// your older installation to the current version.
b8a342d7 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,
b1f93b15 18// using the methods of database_manager class
775f811a 19//
20// Please do not forget to use upgrade_set_timeout()
21// before any action that may take longer time to finish.
b8a342d7 22
775f811a 23function xmldb_assignment_upgrade($oldversion) {
3a003ead 24 global $CFG, $DB, $OUTPUT;
b8a342d7 25
775f811a 26 $dbman = $DB->get_manager();
b8a342d7 27
c5a8abfe 28
46f2a936
AB
29 // Moodle v2.2.0 release upgrade line
30 // Put any upgrade step following this
31
a4cdd6d2 32 return true;
b8a342d7 33}
34
e7521559 35