diff --git a/lib.php b/lib.php index c39e9ff..0abcee6 100755 --- a/lib.php +++ b/lib.php @@ -865,7 +865,7 @@ function game_extend_settings_navigation($settings, $gamenode) { /* Returns an array of game type objects to construct menu list when adding new game */ -require_once($CFG->dirroot.'/version.php'); +require($CFG->dirroot.'/version.php'); if ($branch >= '31') { define('USE_GET_SHORTCUTS', '1'); } diff --git a/version.php b/version.php index 711043b..c3222ad 100755 --- a/version.php +++ b/version.php @@ -36,7 +36,7 @@ if (!isset( $plugin)) { } $plugin->component = 'mod_game'; // Full name of the plugin (used for diagnostics). -$plugin->version = 2016042601; // The current module version (Date: YYYYMMDDXX). +$plugin->version = 2016042602; // 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 = '2016-04-26';