[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/mod/workshop/form/rubric/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   * Keeps track of upgrades to the workshop rubric grading strategy
  20   *
  21   * @package    workshopform_rubric
  22   * @copyright  2010 David Mudrak <[email protected]>
  23   * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
  24   */
  25  
  26  /**
  27   * Performs upgrade of the database structure and data
  28   *
  29   * @param int $oldversion the version we are upgrading from
  30   * @return bool true
  31   */
  32  function xmldb_workshopform_rubric_upgrade($oldversion) {
  33      global $CFG, $DB, $OUTPUT;
  34  
  35      $dbman = $DB->get_manager();
  36  
  37  
  38      // Moodle v2.2.0 release upgrade line
  39      // Put any upgrade step following this
  40  
  41      // Moodle v2.3.0 release upgrade line
  42      // Put any upgrade step following this
  43  
  44  
  45      // Moodle v2.4.0 release upgrade line
  46      // Put any upgrade step following this
  47  
  48  
  49      // Moodle v2.5.0 release upgrade line.
  50      // Put any upgrade step following this.
  51  
  52  
  53      // Moodle v2.6.0 release upgrade line.
  54      // Put any upgrade step following this.
  55  
  56      // Moodle v2.7.0 release upgrade line.
  57      // Put any upgrade step following this.
  58  
  59      // Moodle v2.8.0 release upgrade line.
  60      // Put any upgrade step following this.
  61  
  62      return true;
  63  }


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