diff --git a/lib/db/upgrade.php b/lib/db/upgrade.php index 423bab7b684..c5e13751ca3 100644 --- a/lib/db/upgrade.php +++ b/lib/db/upgrade.php @@ -1167,6 +1167,9 @@ function xmldb_main_upgrade($oldversion) { upgrade_main_savepoint(true, 2024041200.00); } + // Automatically generated Moodle v4.4.0 release upgrade line. + // Put any upgrade step following this. + if ($oldversion < 2024070500.01) { // Remove the site_contactable config of the hub plugin from config plugin table. unset_config('site_contactable', 'hub'); @@ -1175,8 +1178,5 @@ function xmldb_main_upgrade($oldversion) { upgrade_main_savepoint(true, 2024070500.01); } - // Automatically generated Moodle v4.4.0 release upgrade line. - // Put any upgrade step following this. - return true; }