Browse Source

New: High score

MOODLE_20_STABLE
bdaloukas 7 years ago
parent
commit
b8ee927e95
  1. 2
      version.php
  2. 3
      view.php

2
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';

3
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;

Loading…
Cancel
Save