Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-31987 Assignment module: fixed upgrade version

  • Loading branch information...
commit df70d008f71abe675afa36b47bd9766bfcde0812 1 parent 74fc24a
@rwijaya rwijaya authored
Showing with 3 additions and 3 deletions.
  1. +2 −2 mod/assignment/db/upgrade.php
  2. +1 −1  mod/assignment/version.php
View
4 mod/assignment/db/upgrade.php
@@ -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;
View
2  mod/assignment/version.php
@@ -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;
Please sign in to comment.
Something went wrong with that request. Please try again.