Merge branch 'MDL-46477_m26' of https://github.com/shashirepo/moodle into MOODLE_26_S...
[moodle.git] / mod / imscp / db / upgrade.php
blob1d905314e5ba6d35538d6ad9dd6d3cb3a6ff18c8
1 <?php
3 // This file is part of Moodle - http://moodle.org/
4 //
5 // Moodle is free software: you can redistribute it and/or modify
6 // it under the terms of the GNU General Public License as published by
7 // the Free Software Foundation, either version 3 of the License, or
8 // (at your option) any later version.
9 //
10 // Moodle is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU General Public License for more details.
15 // You should have received a copy of the GNU General Public License
16 // along with Moodle. If not, see <http://www.gnu.org/licenses/>.
18 /**
19 * IMS CP module upgrade code
21 * @package mod
22 * @subpackage imscp
23 * @copyright 2009 Petr Skoda {@link http://skodak.org}
24 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
27 defined('MOODLE_INTERNAL') || die();
29 function xmldb_imscp_upgrade($oldversion) {
30 global $CFG, $DB;
32 $dbman = $DB->get_manager();
35 // Moodle v2.2.0 release upgrade line
36 // Put any upgrade step following this
38 // Moodle v2.3.0 release upgrade line
39 // Put any upgrade step following this
42 // Moodle v2.4.0 release upgrade line
43 // Put any upgrade step following this
46 // Moodle v2.5.0 release upgrade line.
47 // Put any upgrade step following this.
50 // Moodle v2.6.0 release upgrade line.
51 // Put any upgrade step following this.
53 return true;