fix hotpot version number so hotpot_update_grades is correctly triggered. New version is 2007101511
This commit is contained in:
@@ -9,7 +9,7 @@ function xmldb_hotpot_upgrade($oldversion=0) {
|
||||
$result = true;
|
||||
|
||||
// update hotpot grades from sites earlier than Moodle 1.9, 27th March 2008
|
||||
if ($result && $oldversion < 2007101509) {
|
||||
if ($result && $oldversion < 2007101511) {
|
||||
|
||||
// ensure "hotpot_update_grades" function is available
|
||||
require_once $CFG->dirroot.'/mod/hotpot/lib.php';
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
/// Code fragment to define the version of hotpot
|
||||
/// This fragment is called by moodle_needs_upgrading() and /admin/index.php
|
||||
/////////////////////////////////////////////////////////////////////////////////
|
||||
$module->version = 2007101510; // release date of this version (see note below)
|
||||
$module->version = 2007101511; // release date of this version (see note below)
|
||||
$module->release = 'v2.4.2'; // human-friendly version name (used in mod/hotpot/lib.php)
|
||||
$module->requires = 2007101509; // Requires this Moodle version
|
||||
$module->cron = 0; // period for cron to check this module (secs)
|
||||
|
||||
Reference in New Issue
Block a user