Browse Source

New: check params of crossword/cryptex

MOODLE_20_STABLE
bdaloukas 7 years ago
parent
commit
27ad0335b9
  1. 7
      check.php
  2. 2
      version.php

7
check.php

@ -282,6 +282,13 @@ function game_check_common_problems_shortanswer_hangman( $game, &$warnings, $a)
} }
} }
/**
* Checks for common problems (check crossword/cryptex parameters)
*
* @param stdClass $game
* @param string $warnings
* @param array $a the words contained
*/
function game_check_common_problems_crossword_cryptex($game, &$warnings) { function game_check_common_problems_crossword_cryptex($game, &$warnings) {
global $CFG, $DB; global $CFG, $DB;

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 = 2017080601; // The current module version (Date: YYYYMMDDXX). $plugin->version = 2017080602; // 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-08-06'; $plugin->release = '2017-08-06';

Loading…
Cancel
Save