8763ab76 |
1 | <?php |
2 | function xmldb_repository_upload_upgrade($oldversion) { |
6aa104ed |
3 | |
4 | global $CFG, $DB; |
5 | |
6 | $dbman = $DB->get_manager(); |
8763ab76 |
7 | $result = true; |
6aa104ed |
8 | |
9 | /// And upgrade begins here. For each one, you'll need one |
10 | /// block of code similar to the next one. Please, delete |
11 | /// this comment lines once this file start handling proper |
12 | /// upgrade code. |
13 | |
14 | /// if ($result && $oldversion < YYYYMMDD00) { //New version in version.php |
15 | /// $result = result of database_manager methods |
16 | /// } |
17 | |
8763ab76 |
18 | return $result; |
19 | } |