From b8ee927e950a5638e37011fd19407bcdb96fa4d5 Mon Sep 17 00:00:00 2001 From: bdaloukas Date: Fri, 11 Aug 2017 19:03:44 +0300 Subject: [PATCH] New: High score --- version.php | 2 +- view.php | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/version.php b/version.php index 491bdf6..a59196e 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 = 2017081103; // The current module version (Date: YYYYMMDDXX). +$plugin->version = 2017081104; // 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-11'; diff --git a/view.php b/view.php index b1a842d..1a58073 100644 --- a/view.php +++ b/view.php @@ -344,8 +344,7 @@ echo $OUTPUT->footer(); /** * Computes high score for this game. Shows the names of $game->highscore students. * - * @param stdClass $table the name of table - * @return string the high score + * @param stdClass $game */ function game_highscore( $game) { global $CFG, $DB, $OUTPUT;