Initial commit
[moodle.git] / blocks / search / db / mysql.php
1 <?php
2 //
3 // This file keeps track of upgrades to Moodle's
4 // blocks system.
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 installtion 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 // Versions are defined by backup_version.php
18 //
19 // This file is tailored to MySQL
21 function search_upgrade($oldversion=0) {
23     global $CFG;
24     
25     $result = true;
27     if ($oldversion < 2006062500 and $result) {
28         $result = true; //Nothing to do
29     }
31     //Finally, return result
32     return $result;
33 }