mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 08:22:07 +02:00
MDL-31987 Assignment module: fixed upgrade version
This commit is contained in:
parent
74fc24a916
commit
df70d008f7
@ -33,7 +33,7 @@ function xmldb_assignment_upgrade($oldversion) {
|
||||
// Put any upgrade step following this
|
||||
|
||||
|
||||
if ($oldversion < 2012062800) {
|
||||
if ($oldversion < 2012061701) {
|
||||
// Fixed/updated numfiles field in assignment_submissions table to count the actual
|
||||
// number of files has been uploaded when sendformarking is disabled
|
||||
upgrade_set_timeout(600); // increase excution time for in large sites
|
||||
@ -67,7 +67,7 @@ function xmldb_assignment_upgrade($oldversion) {
|
||||
$submissions->close();
|
||||
|
||||
// assignment savepoint reached
|
||||
upgrade_mod_savepoint(true, 2012062800, 'assignment');
|
||||
upgrade_mod_savepoint(true, 2012061701, 'assignment');
|
||||
}
|
||||
|
||||
return true;
|
||||
|
@ -25,7 +25,7 @@
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
$module->version = 2012062800; // The current module version (Date: YYYYMMDDXX)
|
||||
$module->version = 2012061701; // The current module version (Date: YYYYMMDDXX)
|
||||
$module->requires = 2012061700; // Requires this Moodle version
|
||||
$module->component = 'mod_assignment'; // Full name of the plugin (used for diagnostics)
|
||||
$module->cron = 60;
|
||||
|
Loading…
x
Reference in New Issue
Block a user