Browse Source

Fix problems on backup/restore

MOODLE_20_STABLE
bdaloukas 8 years ago
parent
commit
f19b922da9
  1. 2
      CHANGES.md
  2. 2
      cross/cross_class.php
  3. 2
      version.php

2
CHANGES.md

@ -1,4 +1,4 @@
Changes in version 2017-07-06 (2017070506) Changes in version 2017-07-06 (2017070606)
- New: Global glossaries - New: Global glossaries
Changes in version 2017-07-05 (2017070502) Changes in version 2017-07-05 (2017070502)

2
cross/cross_class.php

@ -792,7 +792,7 @@ class Cross
$legendh = array(); $legendh = array();
if ($game->glossaryid) { if ($game->glossaryid) {
$sql = "SELECT id,course FROM {$CFG->prefix}glossary WHERE id={$game->glossaryid}"; $sql = "SELECT id,course FROM {$CFG->prefix}glossary WHERE id={$game->glossaryid}";
$glossary = $DB->get_record_sql( $sql); $glossary = $DB->get_record_sql( $sql);
$cmglossary = get_coursemodule_from_instance('glossary', $game->glossaryid, $glossary->course); $cmglossary = get_coursemodule_from_instance('glossary', $game->glossaryid, $glossary->course);
$contextglossary = game_get_context_module_instance( $cmglossary->id); $contextglossary = game_get_context_module_instance( $cmglossary->id);

2
version.php

@ -35,7 +35,7 @@ if (!isset( $plugin)) {
} }
$plugin->component = 'mod_game'; // Full name of the plugin (used for diagnostics). $plugin->component = 'mod_game'; // Full name of the plugin (used for diagnostics).
$plugin->version = 2017070605; // The current module version (Date: YYYYMMDDXX). $plugin->version = 2017070606; // The current module version (Date: YYYYMMDDXX).
$plugin->requires = 2010112400; // Requires Moodle 2.0. $plugin->requires = 2010112400; // Requires Moodle 2.0.
$plugin->cron = 0; // Period for cron to check this module (secs). $plugin->cron = 0; // Period for cron to check this module (secs).
$plugin->release = '2017-07-06'; $plugin->release = '2017-07-06';

Loading…
Cancel
Save