From 27ad0335b9d14fadb81e47ec0053651d6bc2ed6e Mon Sep 17 00:00:00 2001 From: bdaloukas Date: Sun, 6 Aug 2017 15:40:02 +0300 Subject: [PATCH] New: check params of crossword/cryptex --- check.php | 7 +++++++ version.php | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/check.php b/check.php index e97aa13..bdfae53 100644 --- a/check.php +++ b/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) { global $CFG, $DB; diff --git a/version.php b/version.php index 53f9e5e..4caaba5 100644 --- a/version.php +++ b/version.php @@ -35,7 +35,7 @@ if (!isset( $plugin)) { } $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->cron = 0; // Period for cron to check this module (secs). $plugin->release = '2017-08-06';