2 function xmldb_repository_upload_upgrade($oldversion) {
6 $dbman = $DB->get_manager();
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
14 /// if ($result && $oldversion < YYYYMMDD00) { //New version in version.php
15 /// $result = result of database_manager methods