[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/mod/imscp/db/ -> upgrade.php (source)

   1  <?php
   2  
   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.
  14  //
  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/>.
  17  
  18  /**
  19   * IMS CP module upgrade code
  20   *
  21   * @package mod_imscp
  22   * @copyright  2009 Petr Skoda  {@link http://skodak.org}
  23   * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
  24   */
  25  
  26  defined('MOODLE_INTERNAL') || die();
  27  
  28  function xmldb_imscp_upgrade($oldversion) {
  29      global $CFG, $DB;
  30  
  31      $dbman = $DB->get_manager();
  32  
  33  
  34      // Moodle v2.2.0 release upgrade line
  35      // Put any upgrade step following this
  36  
  37      // Moodle v2.3.0 release upgrade line
  38      // Put any upgrade step following this
  39  
  40  
  41      // Moodle v2.4.0 release upgrade line
  42      // Put any upgrade step following this
  43  
  44  
  45      // Moodle v2.5.0 release upgrade line.
  46      // Put any upgrade step following this.
  47  
  48  
  49      // Moodle v2.6.0 release upgrade line.
  50      // Put any upgrade step following this.
  51  
  52      // Moodle v2.7.0 release upgrade line.
  53      // Put any upgrade step following this.
  54  
  55      // Moodle v2.8.0 release upgrade line.
  56      // Put any upgrade step following this.
  57  
  58      return true;
  59  }


Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1