Skip to content

Commit

Permalink
change required moodle version
Browse files Browse the repository at this point in the history
  • Loading branch information
irinahpe committed Aug 9, 2024
1 parent 289fb89 commit e2db7f3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ function xmldb_ratingallocate_upgrade($oldversion) {
upgrade_mod_savepoint(true, 2023050900, 'ratingallocate');
}

if ($oldversion < 2024011700) {
if ($oldversion < 2024080900) {

// Define completionrules fields to be added to ratingallocate.
$table = new xmldb_table('ratingallocate');
Expand All @@ -234,7 +234,7 @@ function xmldb_ratingallocate_upgrade($oldversion) {
}

// Ratingallocate savepoint reached.
upgrade_mod_savepoint(true, 2024011700, 'ratingallocate');
upgrade_mod_savepoint(true, 2024080900, 'ratingallocate');
}

return true;
Expand Down
4 changes: 2 additions & 2 deletions version.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@

defined('MOODLE_INTERNAL') || die();

$plugin->version = 2024011700; // The current module version (Date: YYYYMMDDXX).
$plugin->requires = 2020061500; // Requires Moodle 3.9+.
$plugin->version = 2024080900; // The current module version (Date: YYYYMMDDXX).
$plugin->requires = 2022112800; // Requires Moodle 4.1 and higher.
$plugin->maturity = MATURITY_STABLE;
$plugin->release = 'v4.4-r1';
$plugin->component = 'mod_ratingallocate'; // To check on upgrade, that module sits in correct place.

0 comments on commit e2db7f3

Please sign in to comment.