MDL-31341 mod_assign: fixup minor coding style issues
[moodle.git] / mod / assign / db / upgrade.php
index d3c6c4e..b80a60e 100644 (file)
@@ -64,13 +64,14 @@ function xmldb_assign_upgrade($oldversion) {
         // Assign savepoint reached.
         upgrade_mod_savepoint(true, 2012071800, 'assign');
     }
+
     if ($oldversion < 2012081600) {
 
-        // Define field sendlatenotifications to be added to assign
+        // Define field sendlatenotifications to be added to assign.
         $table = new xmldb_table('assign');
         $field = new xmldb_field('completionsubmit', XMLDB_TYPE_INTEGER, '2', null, XMLDB_NOTNULL, null, '0', 'timemodified');
 
-        // Conditionally launch add field sendlatenotifications
+        // Conditionally launch add field sendlatenotifications.
         if (!$dbman->field_exists($table, $field)) {
             $dbman->add_field($table, $field);
         }