Skip to content

Commit

Permalink
MDL-31987 Assignment module: fixed upgrade version
Browse files Browse the repository at this point in the history
  • Loading branch information
Rossiani Wijaya committed Jul 2, 2012
1 parent fb978df commit 4b0e6f3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions mod/assignment/db/upgrade.php
Expand Up @@ -32,7 +32,7 @@ function xmldb_assignment_upgrade($oldversion) {
// Moodle v2.3.0 release upgrade line
// 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
Expand Down Expand Up @@ -66,7 +66,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;
Expand Down
2 changes: 1 addition & 1 deletion mod/assignment/version.php
Expand Up @@ -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;

0 comments on commit 4b0e6f3

Please sign in to comment.