MDL-19350 upgrade blocks - tiding up minor bits in repo plugins
[moodle.git] / repository / local / db / upgrade.php
CommitLineData
8763ab76 1<?php
6aa104ed 2
8763ab76 3function xmldb_repository_local_upgrade($oldversion) {
6aa104ed 4
5 global $CFG, $DB;
6
7 $dbman = $DB->get_manager();
8763ab76 8 $result = true;
6aa104ed 9
10/// And upgrade begins here. For each one, you'll need one
11/// block of code similar to the next one. Please, delete
12/// this comment lines once this file start handling proper
13/// upgrade code.
14
15/// if ($result && $oldversion < YYYYMMDD00) { //New version in version.php
16/// $result = result of database_manager methods
17/// }
18
8763ab76 19 return $result;
20}