bump to fix bad version upgrade - thanks to Eric for the report!
authorDan Marsden <dan@danmarsden.com>
Sun, 16 Nov 2014 20:08:17 +0000 (09:08 +1300)
committerDan Marsden <dan@danmarsden.com>
Sun, 16 Nov 2014 20:08:17 +0000 (09:08 +1300)
db/upgrade.php
version.php

index c71facc..49ea133 100644 (file)
@@ -73,7 +73,7 @@ function xmldb_attendance_upgrade($oldversion=0) {
         upgrade_plugin_savepoint($result, 2013082902, 'mod', 'attendance');
     }
 
-    if ($oldversion < 2014022802) {
+    if ($oldversion < 2014022803) {
         $table = new xmldb_table('attendance_sessions');
 
         $field = new xmldb_field('studentscanmark');
@@ -82,7 +82,7 @@ function xmldb_attendance_upgrade($oldversion=0) {
             $dbman->add_field($table, $field);
         }
         
-        upgrade_mod_savepoint($result, 2014022802, 'attendance');
+        upgrade_mod_savepoint($result, 2014022803, 'attendance');
     }
 
     return $result;
index 5e6e2b8..cd74be3 100644 (file)
@@ -22,7 +22,7 @@
  * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
  */
 
-$module->version  = 2014022802;
+$module->version  = 2014022803;
 $module->requires = 2013040500;
 $module->release = '2.6.2';
 $module->maturity  = MATURITY_STABLE;