3 // This file keeps track of upgrades to Moodle's
6 // Sometimes, changes between versions involve
7 // alterations to database structures and other
8 // major things that may break installations.
10 // The upgrade function in this file will attempt
11 // to perform all the necessary actions to upgrade
12 // your older installtion to the current version.
14 // If there's something it cannot do itself, it
15 // will tell you what you need to do.
17 // Versions are defined by backup_version.php
19 // This file is tailored to MySQL
21 function search_upgrade($oldversion=0) {
27 if ($oldversion < 2006062500 and $result) {
28 $result = true; //Nothing to do
31 //Finally, return result