Skip to content

Commit

Permalink
Update upgrade.php
Browse files Browse the repository at this point in the history
  • Loading branch information
fmido88 authored Feb 24, 2024
1 parent 0a0c418 commit 79f2cba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -951,7 +951,7 @@ function xmldb_zoom_upgrade($oldversion) {
upgrade_mod_savepoint(true, 2024012500, 'zoom');
}

if ($oldversion < 2024012500) { // To be change.
if ($oldversion < 2024022200) { // To be change.
// Define field grading_method to be added to zoom.
$table = new xmldb_table('zoom');
$field = new xmldb_field('grading_method', XMLDB_TYPE_CHAR, '10', null, null, null, null, 'grade');
Expand All @@ -962,7 +962,7 @@ function xmldb_zoom_upgrade($oldversion) {
}

// Zoom savepoint reached.
upgrade_mod_savepoint(true, 2024012500, 'zoom'); // To be change.
upgrade_mod_savepoint(true, 2024022200, 'zoom'); // To be change.
}

return true;
Expand Down

0 comments on commit 79f2cba

Please sign in to comment.