mirror of
https://github.com/moodle/moodle.git
synced 2025-08-03 08:09:47 +02:00
Moodle can now upgrade itself, just like the modules do
This commit is contained in:
parent
dafa318bab
commit
cbd1170e91
6 changed files with 97 additions and 32 deletions
27
version.php
Normal file
27
version.php
Normal file
|
@ -0,0 +1,27 @@
|
|||
<?PHP //$Id$
|
||||
// This file keeps track of upgrades to Moodle.
|
||||
//
|
||||
// Sometimes, changes between versions involve
|
||||
// alterations to database structures and other
|
||||
// major things that may break installations.
|
||||
//
|
||||
// This file specifies the current version of
|
||||
// Moodle installed, which can be compared against
|
||||
// a previous version (see the "config" table).
|
||||
//
|
||||
// To do this, visit the "admin" page.
|
||||
//
|
||||
// The upgrade function in this file will attempt
|
||||
// to perform all the necessary actions to upgrade
|
||||
// your older databases to the current version.
|
||||
// If there's something it cannot do itself, it
|
||||
// will tell you what you need to do.
|
||||
|
||||
$version = 2002072704;
|
||||
|
||||
function upgrade_moodle($oldversion) {
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
?>
|
Loading…
Add table
Add a link
Reference in a new issue