Moodle can now upgrade itself, just like the modules do
[moodle.git] / version.php
CommitLineData
cbd1170e 1<?PHP //$Id$
2// This file keeps track of upgrades to Moodle.
3//
4// Sometimes, changes between versions involve
5// alterations to database structures and other
6// major things that may break installations.
7//
8// This file specifies the current version of
9// Moodle installed, which can be compared against
10// a previous version (see the "config" table).
11//
12// To do this, visit the "admin" page.
13//
14// The upgrade function in this file will attempt
15// to perform all the necessary actions to upgrade
16// your older databases to the current version.
17// If there's something it cannot do itself, it
18// will tell you what you need to do.
19
20$version = 2002072704;
21
22function upgrade_moodle($oldversion) {
23
24 return true;
25}
26
27?>