Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is supported too.

Differences Between: [Versions 310 and 311] [Versions 311 and 400] [Versions 311 and 401] [Versions 311 and 402] [Versions 311 and 403] [Versions 39 and 311]

   1  <?php
   2  // This file keeps track of upgrades to
   3  // the glossary module
   4  //
   5  // Sometimes, changes between versions involve
   6  // alterations to database structures and other
   7  // major things that may break installations.
   8  //
   9  // The upgrade function in this file will attempt
  10  // to perform all the necessary actions to upgrade
  11  // your older installation to the current version.
  12  //
  13  // If there's something it cannot do itself, it
  14  // will tell you what you need to do.
  15  //
  16  // The commands in here will all be database-neutral,
  17  // using the methods of database_manager class
  18  //
  19  // Please do not forget to use upgrade_set_timeout()
  20  // before any action that may take longer time to finish.
  21  
  22  function xmldb_glossary_upgrade($oldversion) {
  23      global $DB;
  24  
  25      // Automatically generated Moodle v3.6.0 release upgrade line.
  26      // Put any upgrade step following this.
  27  
  28      // Automatically generated Moodle v3.7.0 release upgrade line.
  29      // Put any upgrade step following this.
  30  
  31      // Automatically generated Moodle v3.8.0 release upgrade line.
  32      // Put any upgrade step following this.
  33  
  34      // Automatically generated Moodle v3.9.0 release upgrade line.
  35      // Put any upgrade step following this.
  36  
  37      // Automatically generated Moodle v3.10.0 release upgrade line.
  38      // Put any upgrade step following this.
  39  
  40      // Automatically generated Moodle v3.11.0 release upgrade line.
  41      // Put any upgrade step following this.
  42  
  43      return true;
  44  }