Permalink
Browse files

MDL-31987 Assignment module: fixed upgrade version

  • Loading branch information...
1 parent f2d59e4 commit d0c33d06a3418c237a44c6d48f12c04de0467de9 Rossiani Wijaya committed Jul 2, 2012
Showing with 3 additions and 3 deletions.
  1. +2 −2 mod/assignment/db/upgrade.php
  2. +1 −1 mod/assignment/version.php
@@ -157,7 +157,7 @@ function xmldb_assignment_upgrade($oldversion) {
// Moodle v2.1.0 release upgrade line
// Put any upgrade step following this
- if ($oldversion < 2012062800) {
+ if ($oldversion < 2010102601) {
// 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
@@ -190,7 +190,7 @@ function xmldb_assignment_upgrade($oldversion) {
}
$submissions->close();
// assignment savepoint reached
- upgrade_mod_savepoint(true, 2012062800, 'assignment');
+ upgrade_mod_savepoint(true, 2010102601, 'assignment');
}
return true;
@@ -5,7 +5,7 @@
// This fragment is called by /admin/index.php
////////////////////////////////////////////////////////////////////////////////
-$module->version = 2012062800;
+$module->version = 2010102601;
$module->requires = 2010102600; // Requires this Moodle version
$module->cron = 60;

0 comments on commit d0c33d0

Please sign in to comment.