diff --git a/public/admin/tool/recyclebin/db/upgrade.php b/public/admin/tool/recyclebin/db/upgrade.php index 1e485479904..374bafbadf7 100644 --- a/public/admin/tool/recyclebin/db/upgrade.php +++ b/public/admin/tool/recyclebin/db/upgrade.php @@ -49,8 +49,10 @@ function xmldb_tool_recyclebin_upgrade($oldversion) { // Automatically generated Moodle v5.0.0 release upgrade line. // Put any upgrade step following this. - if ($oldversion < 2025041401) { + // Automatically generated Moodle v5.1.0 release upgrade line. + // Put any upgrade step following this. + if ($oldversion < 2025100601) { // Changing precision of field shortname on table tool_recyclebin_category to (1333). $table = new xmldb_table('tool_recyclebin_category'); $field = new xmldb_field('shortname', XMLDB_TYPE_CHAR, '1333', null, XMLDB_NOTNULL, null, null, 'categoryid'); @@ -73,11 +75,8 @@ function xmldb_tool_recyclebin_upgrade($oldversion) { $dbman->change_field_precision($table, $field); // Recyclebin savepoint reached. - upgrade_plugin_savepoint(true, 2025041401, 'tool', 'recyclebin'); + upgrade_plugin_savepoint(true, 2025100601, 'tool', 'recyclebin'); } - // Automatically generated Moodle v5.1.0 release upgrade line. - // Put any upgrade step following this. - return true; } diff --git a/public/admin/tool/recyclebin/version.php b/public/admin/tool/recyclebin/version.php index e7578e5a057..f459e8eb35c 100644 --- a/public/admin/tool/recyclebin/version.php +++ b/public/admin/tool/recyclebin/version.php @@ -24,6 +24,6 @@ defined('MOODLE_INTERNAL') || die(); -$plugin->version = 2025100600; // The current plugin version (Date: YYYYMMDDXX). +$plugin->version = 2025100601; // The current plugin version (Date: YYYYMMDDXX). $plugin->requires = 2025092600; // Requires this Moodle version. $plugin->component = 'tool_recyclebin'; // Full name of the plugin (used for diagnostics). diff --git a/public/mod/assign/db/upgrade.php b/public/mod/assign/db/upgrade.php index 61f5126a2a4..957088d5004 100644 --- a/public/mod/assign/db/upgrade.php +++ b/public/mod/assign/db/upgrade.php @@ -144,8 +144,10 @@ function xmldb_assign_upgrade($oldversion) { // Automatically generated Moodle v5.0.0 release upgrade line. // Put any upgrade step following this. - if ($oldversion < 2025041401) { + // Automatically generated Moodle v5.1.0 release upgrade line. + // Put any upgrade step following this. + if ($oldversion < 2025100601) { // Changing precision of field name on table assign to (1333). $table = new xmldb_table('assign'); $field = new xmldb_field('name', XMLDB_TYPE_CHAR, '1333', null, XMLDB_NOTNULL, null, null, 'course'); @@ -154,11 +156,8 @@ function xmldb_assign_upgrade($oldversion) { $dbman->change_field_precision($table, $field); // Assign savepoint reached. - upgrade_mod_savepoint(true, 2025041401, 'assign'); + upgrade_mod_savepoint(true, 2025100601, 'assign'); } - // Automatically generated Moodle v5.1.0 release upgrade line. - // Put any upgrade step following this. - return true; } diff --git a/public/mod/assign/version.php b/public/mod/assign/version.php index 2a8e8117d64..032198dfada 100644 --- a/public/mod/assign/version.php +++ b/public/mod/assign/version.php @@ -25,5 +25,5 @@ defined('MOODLE_INTERNAL') || die(); $plugin->component = 'mod_assign'; // Full name of the plugin (used for diagnostics). -$plugin->version = 2025100600; // The current module version (Date: YYYYMMDDXX). +$plugin->version = 2025100601; // The current module version (Date: YYYYMMDDXX). $plugin->requires = 2025092600; // Requires this Moodle version. diff --git a/public/mod/bigbluebuttonbn/db/upgrade.php b/public/mod/bigbluebuttonbn/db/upgrade.php index 482bb4b3755..52dbd40eae9 100644 --- a/public/mod/bigbluebuttonbn/db/upgrade.php +++ b/public/mod/bigbluebuttonbn/db/upgrade.php @@ -83,8 +83,10 @@ function xmldb_bigbluebuttonbn_upgrade($oldversion = 0) { // Automatically generated Moodle v5.0.0 release upgrade line. // Put any upgrade step following this. - if ($oldversion < 2025041401) { + // Automatically generated Moodle v5.1.0 release upgrade line. + // Put any upgrade step following this. + if ($oldversion < 2025100601) { // Changing precision of field name on table bigbluebuttonbn to (1333). $table = new xmldb_table('bigbluebuttonbn'); @@ -94,12 +96,9 @@ function xmldb_bigbluebuttonbn_upgrade($oldversion = 0) { $dbman->change_field_precision($table, $field); // Bigbluebuttonbn savepoint reached. - upgrade_mod_savepoint(true, 2025041401, 'bigbluebuttonbn'); + upgrade_mod_savepoint(true, 2025100601, 'bigbluebuttonbn'); } - // Automatically generated Moodle v5.1.0 release upgrade line. - // Put any upgrade step following this. - return true; } diff --git a/public/mod/bigbluebuttonbn/version.php b/public/mod/bigbluebuttonbn/version.php index 8891dfed69e..3103153ec11 100644 --- a/public/mod/bigbluebuttonbn/version.php +++ b/public/mod/bigbluebuttonbn/version.php @@ -27,6 +27,6 @@ defined('MOODLE_INTERNAL') || die; -$plugin->version = 2025100600; +$plugin->version = 2025100601; $plugin->requires = 2025092600; $plugin->component = 'mod_bigbluebuttonbn'; diff --git a/public/mod/book/db/upgrade.php b/public/mod/book/db/upgrade.php index 92b41ce88cc..2602975abd2 100644 --- a/public/mod/book/db/upgrade.php +++ b/public/mod/book/db/upgrade.php @@ -46,8 +46,10 @@ function xmldb_book_upgrade($oldversion) { // Automatically generated Moodle v5.0.0 release upgrade line. // Put any upgrade step following this. - if ($oldversion < 2025041401) { + // Automatically generated Moodle v5.1.0 release upgrade line. + // Put any upgrade step following this. + if ($oldversion < 2025100601) { // Changing precision of field name on table book to (1333). $table = new xmldb_table('book'); $field = new xmldb_field('name', XMLDB_TYPE_CHAR, '1333', null, XMLDB_NOTNULL, null, null, 'course'); @@ -63,11 +65,8 @@ function xmldb_book_upgrade($oldversion) { $dbman->change_field_precision($table, $field); // Book savepoint reached. - upgrade_mod_savepoint(true, 2025041401, 'book'); + upgrade_mod_savepoint(true, 2025100601, 'book'); } - // Automatically generated Moodle v5.1.0 release upgrade line. - // Put any upgrade step following this. - return true; } diff --git a/public/mod/book/version.php b/public/mod/book/version.php index eb91b0a38b9..ecc14725cae 100644 --- a/public/mod/book/version.php +++ b/public/mod/book/version.php @@ -25,6 +25,6 @@ defined('MOODLE_INTERNAL') || die; $plugin->component = 'mod_book'; // Full name of the plugin (used for diagnostics) -$plugin->version = 2025100600; // The current module version (Date: YYYYMMDDXX). +$plugin->version = 2025100601; // The current module version (Date: YYYYMMDDXX). $plugin->requires = 2025092600; // Requires this Moodle version. $plugin->cron = 0; // Period for cron to check this module (secs) diff --git a/public/mod/choice/db/upgrade.php b/public/mod/choice/db/upgrade.php index 6d129917b83..406e0f88b9c 100644 --- a/public/mod/choice/db/upgrade.php +++ b/public/mod/choice/db/upgrade.php @@ -58,8 +58,10 @@ function xmldb_choice_upgrade($oldversion) { // Automatically generated Moodle v5.0.0 release upgrade line. // Put any upgrade step following this. - if ($oldversion < 2025041401) { + // Automatically generated Moodle v5.1.0 release upgrade line. + // Put any upgrade step following this. + if ($oldversion < 2025100601) { // Changing precision of field name on table choice to (1333). $table = new xmldb_table('choice'); $field = new xmldb_field('name', XMLDB_TYPE_CHAR, '1333', null, XMLDB_NOTNULL, null, null, 'course'); @@ -68,11 +70,8 @@ function xmldb_choice_upgrade($oldversion) { $dbman->change_field_precision($table, $field); // Choice savepoint reached. - upgrade_mod_savepoint(true, 2025041401, 'choice'); + upgrade_mod_savepoint(true, 2025100601, 'choice'); } - // Automatically generated Moodle v5.1.0 release upgrade line. - // Put any upgrade step following this. - return true; } diff --git a/public/mod/choice/version.php b/public/mod/choice/version.php index d49bb380ade..adeebed60bd 100644 --- a/public/mod/choice/version.php +++ b/public/mod/choice/version.php @@ -24,7 +24,7 @@ defined('MOODLE_INTERNAL') || die(); -$plugin->version = 2025100600; // The current module version (Date: YYYYMMDDXX). +$plugin->version = 2025100601; // The current module version (Date: YYYYMMDDXX). $plugin->requires = 2025092600; // Requires this Moodle version. $plugin->component = 'mod_choice'; // Full name of the plugin (used for diagnostics) $plugin->cron = 0; diff --git a/public/mod/data/db/upgrade.php b/public/mod/data/db/upgrade.php index a8e9f25717e..1a9d8b023da 100644 --- a/public/mod/data/db/upgrade.php +++ b/public/mod/data/db/upgrade.php @@ -74,8 +74,10 @@ function xmldb_data_upgrade($oldversion) { // Automatically generated Moodle v5.0.0 release upgrade line. // Put any upgrade step following this. - if ($oldversion < 2025041401) { + // Automatically generated Moodle v5.1.0 release upgrade line. + // Put any upgrade step following this. + if ($oldversion < 2025100601) { // Changing precision of field name on table data to (1333). $table = new xmldb_table('data'); $field = new xmldb_field('name', XMLDB_TYPE_CHAR, '1333', null, XMLDB_NOTNULL, null, null, 'course'); @@ -84,11 +86,8 @@ function xmldb_data_upgrade($oldversion) { $dbman->change_field_precision($table, $field); // Data savepoint reached. - upgrade_mod_savepoint(true, 2025041401, 'data'); + upgrade_mod_savepoint(true, 2025100601, 'data'); } - // Automatically generated Moodle v5.1.0 release upgrade line. - // Put any upgrade step following this. - return true; } diff --git a/public/mod/data/version.php b/public/mod/data/version.php index c1d678ed6fe..d7614e065d5 100644 --- a/public/mod/data/version.php +++ b/public/mod/data/version.php @@ -24,7 +24,7 @@ defined('MOODLE_INTERNAL') || die(); -$plugin->version = 2025100600; // The current module version (Date: YYYYMMDDXX). +$plugin->version = 2025100601; // The current module version (Date: YYYYMMDDXX). $plugin->requires = 2025092600; // Requires this Moodle version. $plugin->component = 'mod_data'; // Full name of the plugin (used for diagnostics) $plugin->cron = 0; diff --git a/public/mod/feedback/db/upgrade.php b/public/mod/feedback/db/upgrade.php index e5ebfd54a29..0e8603cfdcb 100644 --- a/public/mod/feedback/db/upgrade.php +++ b/public/mod/feedback/db/upgrade.php @@ -58,8 +58,10 @@ function xmldb_feedback_upgrade($oldversion) { // Automatically generated Moodle v5.0.0 release upgrade line. // Put any upgrade step following this. - if ($oldversion < 2025041401) { + // Automatically generated Moodle v5.1.0 release upgrade line. + // Put any upgrade step following this. + if ($oldversion < 2025100601) { // Changing precision of field name on table feedback to (1333). $table = new xmldb_table('feedback'); $field = new xmldb_field('name', XMLDB_TYPE_CHAR, '1333', null, XMLDB_NOTNULL, null, null, 'course'); @@ -75,11 +77,8 @@ function xmldb_feedback_upgrade($oldversion) { $dbman->change_field_precision($table, $field); // Feedback savepoint reached. - upgrade_mod_savepoint(true, 2025041401, 'feedback'); + upgrade_mod_savepoint(true, 2025100601, 'feedback'); } - // Automatically generated Moodle v5.1.0 release upgrade line. - // Put any upgrade step following this. - return true; } diff --git a/public/mod/feedback/version.php b/public/mod/feedback/version.php index e464da2bec5..dcb508f4a73 100644 --- a/public/mod/feedback/version.php +++ b/public/mod/feedback/version.php @@ -24,7 +24,7 @@ defined('MOODLE_INTERNAL') || die(); -$plugin->version = 2025100600; // The current module version (Date: YYYYMMDDXX). +$plugin->version = 2025100601; // The current module version (Date: YYYYMMDDXX). $plugin->requires = 2025092600; // Requires this Moodle version. $plugin->component = 'mod_feedback'; // Full name of the plugin (used for diagnostics) $plugin->cron = 0; diff --git a/public/mod/folder/db/upgrade.php b/public/mod/folder/db/upgrade.php index b201c1a05cb..42ceccdc48f 100644 --- a/public/mod/folder/db/upgrade.php +++ b/public/mod/folder/db/upgrade.php @@ -61,8 +61,10 @@ function xmldb_folder_upgrade($oldversion) { // Automatically generated Moodle v5.0.0 release upgrade line. // Put any upgrade step following this. - if ($oldversion < 2025041401) { + // Automatically generated Moodle v5.1.0 release upgrade line. + // Put any upgrade step following this. + if ($oldversion < 2025100601) { // Changing precision of field name on table folder to (1333). $table = new xmldb_table('folder'); $field = new xmldb_field('name', XMLDB_TYPE_CHAR, '1333', null, XMLDB_NOTNULL, null, null, 'course'); @@ -71,11 +73,8 @@ function xmldb_folder_upgrade($oldversion) { $dbman->change_field_precision($table, $field); // Folder savepoint reached. - upgrade_mod_savepoint(true, 2025041401, 'folder'); + upgrade_mod_savepoint(true, 2025100601, 'folder'); } - // Automatically generated Moodle v5.1.0 release upgrade line. - // Put any upgrade step following this. - return true; } diff --git a/public/mod/folder/version.php b/public/mod/folder/version.php index b07bb73334b..cbd373ccc6c 100644 --- a/public/mod/folder/version.php +++ b/public/mod/folder/version.php @@ -24,7 +24,7 @@ defined('MOODLE_INTERNAL') || die(); -$plugin->version = 2025100600; // The current module version (Date: YYYYMMDDXX). +$plugin->version = 2025100601; // The current module version (Date: YYYYMMDDXX). $plugin->requires = 2025092600; // Requires this Moodle version. $plugin->component = 'mod_folder'; // Full name of the plugin (used for diagnostics) $plugin->cron = 0; diff --git a/public/mod/forum/db/upgrade.php b/public/mod/forum/db/upgrade.php index 33e18af2f7c..78cecfb07ef 100644 --- a/public/mod/forum/db/upgrade.php +++ b/public/mod/forum/db/upgrade.php @@ -59,8 +59,10 @@ function xmldb_forum_upgrade($oldversion) { // Automatically generated Moodle v5.0.0 release upgrade line. // Put any upgrade step following this. - if ($oldversion < 2025041401) { + // Automatically generated Moodle v5.1.0 release upgrade line. + // Put any upgrade step following this. + if ($oldversion < 2025100601) { // Changing precision of field name on table forum to (1333). $table = new xmldb_table('forum'); $field = new xmldb_field('name', XMLDB_TYPE_CHAR, '1333', null, XMLDB_NOTNULL, null, null, 'type'); @@ -69,11 +71,8 @@ function xmldb_forum_upgrade($oldversion) { $dbman->change_field_precision($table, $field); // Forum savepoint reached. - upgrade_mod_savepoint(true, 2025041401, 'forum'); + upgrade_mod_savepoint(true, 2025100601, 'forum'); } - // Automatically generated Moodle v5.1.0 release upgrade line. - // Put any upgrade step following this. - return true; } diff --git a/public/mod/forum/version.php b/public/mod/forum/version.php index 49651baea9e..ef0bb3e2fba 100644 --- a/public/mod/forum/version.php +++ b/public/mod/forum/version.php @@ -24,6 +24,6 @@ defined('MOODLE_INTERNAL') || die(); -$plugin->version = 2025100600; // The current module version (Date: YYYYMMDDXX). +$plugin->version = 2025100601; // The current module version (Date: YYYYMMDDXX). $plugin->requires = 2025092600; // Requires this Moodle version. $plugin->component = 'mod_forum'; // Full name of the plugin (used for diagnostics) diff --git a/public/mod/glossary/db/upgrade.php b/public/mod/glossary/db/upgrade.php index 70e5a896db6..0b2075b8bb7 100644 --- a/public/mod/glossary/db/upgrade.php +++ b/public/mod/glossary/db/upgrade.php @@ -58,8 +58,10 @@ function xmldb_glossary_upgrade($oldversion) { // Automatically generated Moodle v5.0.0 release upgrade line. // Put any upgrade step following this. - if ($oldversion < 2025041401) { + // Automatically generated Moodle v5.1.0 release upgrade line. + // Put any upgrade step following this. + if ($oldversion < 2025100601) { // Changing precision of field name on table glossary to (1333). $table = new xmldb_table('glossary'); $field = new xmldb_field('name', XMLDB_TYPE_CHAR, '1333', null, XMLDB_NOTNULL, null, null, 'course'); @@ -68,11 +70,8 @@ function xmldb_glossary_upgrade($oldversion) { $dbman->change_field_precision($table, $field); // Glossary savepoint reached. - upgrade_mod_savepoint(true, 2025041401, 'glossary'); + upgrade_mod_savepoint(true, 2025100601, 'glossary'); } - // Automatically generated Moodle v5.1.0 release upgrade line. - // Put any upgrade step following this. - return true; } diff --git a/public/mod/glossary/version.php b/public/mod/glossary/version.php index 1379ae07f16..5e15b28d9ed 100644 --- a/public/mod/glossary/version.php +++ b/public/mod/glossary/version.php @@ -24,7 +24,7 @@ defined('MOODLE_INTERNAL') || die(); -$plugin->version = 2025100600; // The current module version (Date: YYYYMMDDXX). +$plugin->version = 2025100601; // The current module version (Date: YYYYMMDDXX). $plugin->requires = 2025092600; // Requires this Moodle version. $plugin->component = 'mod_glossary'; // Full name of the plugin (used for diagnostics) $plugin->cron = 0; diff --git a/public/mod/h5pactivity/db/upgrade.php b/public/mod/h5pactivity/db/upgrade.php index 4c4bb2977df..e97da4fd3f3 100644 --- a/public/mod/h5pactivity/db/upgrade.php +++ b/public/mod/h5pactivity/db/upgrade.php @@ -77,8 +77,10 @@ function xmldb_h5pactivity_upgrade($oldversion) { // Automatically generated Moodle v5.0.0 release upgrade line. // Put any upgrade step following this. - if ($oldversion < 2025041401) { + // Automatically generated Moodle v5.1.0 release upgrade line. + // Put any upgrade step following this. + if ($oldversion < 2025100601) { // Changing precision of field name on table h5pactivity to (1333). $table = new xmldb_table('h5pactivity'); $field = new xmldb_field('name', XMLDB_TYPE_CHAR, '1333', null, XMLDB_NOTNULL, null, null, 'course'); @@ -87,11 +89,8 @@ function xmldb_h5pactivity_upgrade($oldversion) { $dbman->change_field_precision($table, $field); // H5pactivity savepoint reached. - upgrade_mod_savepoint(true, 2025041401, 'h5pactivity'); + upgrade_mod_savepoint(true, 2025100601, 'h5pactivity'); } - // Automatically generated Moodle v5.1.0 release upgrade line. - // Put any upgrade step following this. - return true; } diff --git a/public/mod/h5pactivity/version.php b/public/mod/h5pactivity/version.php index c708dcdd4de..e286a2ee530 100644 --- a/public/mod/h5pactivity/version.php +++ b/public/mod/h5pactivity/version.php @@ -25,5 +25,5 @@ defined('MOODLE_INTERNAL') || die(); $plugin->component = 'mod_h5pactivity'; -$plugin->version = 2025100600; +$plugin->version = 2025100601; $plugin->requires = 2025092600; diff --git a/public/mod/imscp/db/upgrade.php b/public/mod/imscp/db/upgrade.php index 7a16dd8a586..5f47f9cec90 100644 --- a/public/mod/imscp/db/upgrade.php +++ b/public/mod/imscp/db/upgrade.php @@ -45,8 +45,10 @@ function xmldb_imscp_upgrade($oldversion) { // Automatically generated Moodle v5.0.0 release upgrade line. // Put any upgrade step following this. - if ($oldversion < 2025041401) { + // Automatically generated Moodle v5.1.0 release upgrade line. + // Put any upgrade step following this. + if ($oldversion < 2025100601) { // Changing precision of field name on table imscp to (1333). $table = new xmldb_table('imscp'); $field = new xmldb_field('name', XMLDB_TYPE_CHAR, '1333', null, XMLDB_NOTNULL, null, null, 'course'); @@ -55,11 +57,8 @@ function xmldb_imscp_upgrade($oldversion) { $dbman->change_field_precision($table, $field); // Imscp savepoint reached. - upgrade_mod_savepoint(true, 2025041401, 'imscp'); + upgrade_mod_savepoint(true, 2025100601, 'imscp'); } - // Automatically generated Moodle v5.1.0 release upgrade line. - // Put any upgrade step following this. - return true; } diff --git a/public/mod/imscp/version.php b/public/mod/imscp/version.php index 1dc024ec8ef..d4d20ae7962 100644 --- a/public/mod/imscp/version.php +++ b/public/mod/imscp/version.php @@ -24,7 +24,7 @@ defined('MOODLE_INTERNAL') || die(); -$plugin->version = 2025100600; // The current module version (Date: YYYYMMDDXX). +$plugin->version = 2025100601; // The current module version (Date: YYYYMMDDXX). $plugin->requires = 2025092600; // Requires this Moodle version. $plugin->component = 'mod_imscp'; // Full name of the plugin (used for diagnostics). $plugin->cron = 0; diff --git a/public/mod/label/db/upgrade.php b/public/mod/label/db/upgrade.php index b3276102f56..acc242f373c 100644 --- a/public/mod/label/db/upgrade.php +++ b/public/mod/label/db/upgrade.php @@ -68,8 +68,10 @@ function xmldb_label_upgrade($oldversion) { upgrade_mod_savepoint(true, 2025051300, 'label'); } - if ($oldversion < 2025051301) { + // Automatically generated Moodle v5.1.0 release upgrade line. + // Put any upgrade step following this. + if ($oldversion < 2025100601) { // Changing precision of field name on table label to (1333). $table = new xmldb_table('label'); $field = new xmldb_field('name', XMLDB_TYPE_CHAR, '1333', null, XMLDB_NOTNULL, null, null, 'course'); @@ -78,11 +80,8 @@ function xmldb_label_upgrade($oldversion) { $dbman->change_field_precision($table, $field); // Label savepoint reached. - upgrade_mod_savepoint(true, 2025051301, 'label'); + upgrade_mod_savepoint(true, 2025100601, 'label'); } - // Automatically generated Moodle v5.1.0 release upgrade line. - // Put any upgrade step following this. - return true; } diff --git a/public/mod/label/version.php b/public/mod/label/version.php index 0115a9a04a7..08d14bc9bce 100644 --- a/public/mod/label/version.php +++ b/public/mod/label/version.php @@ -24,7 +24,7 @@ defined('MOODLE_INTERNAL') || die(); -$plugin->version = 2025100600; // The current module version (Date: YYYYMMDDXX). +$plugin->version = 2025100601; // The current module version (Date: YYYYMMDDXX). $plugin->requires = 2025092600; // Requires this Moodle version. $plugin->component = 'mod_label'; // Full name of the plugin (used for diagnostics) $plugin->cron = 0; diff --git a/public/mod/lesson/db/upgrade.php b/public/mod/lesson/db/upgrade.php index 9fff5a4dc9c..233240446ed 100644 --- a/public/mod/lesson/db/upgrade.php +++ b/public/mod/lesson/db/upgrade.php @@ -66,8 +66,10 @@ function xmldb_lesson_upgrade($oldversion) { // Automatically generated Moodle v5.0.0 release upgrade line. // Put any upgrade step following this. - if ($oldversion < 2025041401) { + // Automatically generated Moodle v5.1.0 release upgrade line. + // Put any upgrade step following this. + if ($oldversion < 2025100601) { // Changing precision of field name on table lesson to (1333). $table = new xmldb_table('lesson'); $field = new xmldb_field('name', XMLDB_TYPE_CHAR, '1333', null, XMLDB_NOTNULL, null, null, 'course'); @@ -76,11 +78,8 @@ function xmldb_lesson_upgrade($oldversion) { $dbman->change_field_precision($table, $field); // Lesson savepoint reached. - upgrade_mod_savepoint(true, 2025041401, 'lesson'); + upgrade_mod_savepoint(true, 2025100601, 'lesson'); } - // Automatically generated Moodle v5.1.0 release upgrade line. - // Put any upgrade step following this. - return true; } diff --git a/public/mod/lesson/version.php b/public/mod/lesson/version.php index 169e6d5957f..c5fc6644947 100644 --- a/public/mod/lesson/version.php +++ b/public/mod/lesson/version.php @@ -24,7 +24,7 @@ defined('MOODLE_INTERNAL') || die(); -$plugin->version = 2025100600; // The current module version (Date: YYYYMMDDXX). +$plugin->version = 2025100601; // The current module version (Date: YYYYMMDDXX). $plugin->requires = 2025092600; // Requires this Moodle version. $plugin->component = 'mod_lesson'; // Full name of the plugin (used for diagnostics) $plugin->cron = 0; diff --git a/public/mod/lti/db/upgrade.php b/public/mod/lti/db/upgrade.php index 6878ecbfd07..82cb4c1e5cc 100644 --- a/public/mod/lti/db/upgrade.php +++ b/public/mod/lti/db/upgrade.php @@ -125,8 +125,10 @@ function xmldb_lti_upgrade($oldversion) { // Automatically generated Moodle v5.0.0 release upgrade line. // Put any upgrade step following this. - if ($oldversion < 2025041401) { + // Automatically generated Moodle v5.1.0 release upgrade line. + // Put any upgrade step following this. + if ($oldversion < 2025100601) { // Changing precision of field name on table lti to (1333). $table = new xmldb_table('lti'); $field = new xmldb_field('name', XMLDB_TYPE_CHAR, '1333', null, XMLDB_NOTNULL, null, null, 'course'); @@ -135,11 +137,8 @@ function xmldb_lti_upgrade($oldversion) { $dbman->change_field_precision($table, $field); // Lti savepoint reached. - upgrade_mod_savepoint(true, 2025041401, 'lti'); + upgrade_mod_savepoint(true, 2025100601, 'lti'); } - // Automatically generated Moodle v5.1.0 release upgrade line. - // Put any upgrade step following this. - return true; } diff --git a/public/mod/lti/version.php b/public/mod/lti/version.php index 7e58add00cc..80cc934b367 100644 --- a/public/mod/lti/version.php +++ b/public/mod/lti/version.php @@ -48,7 +48,7 @@ defined('MOODLE_INTERNAL') || die; -$plugin->version = 2025100600; // The current module version (Date: YYYYMMDDXX). +$plugin->version = 2025100601; // The current module version (Date: YYYYMMDDXX). $plugin->requires = 2025092600; // Requires this Moodle version. $plugin->component = 'mod_lti'; // Full name of the plugin (used for diagnostics). $plugin->cron = 0; diff --git a/public/mod/page/db/upgrade.php b/public/mod/page/db/upgrade.php index d1767c07446..1318ac2ae00 100644 --- a/public/mod/page/db/upgrade.php +++ b/public/mod/page/db/upgrade.php @@ -61,8 +61,10 @@ function xmldb_page_upgrade($oldversion) { // Automatically generated Moodle v5.0.0 release upgrade line. // Put any upgrade step following this. - if ($oldversion < 2025041401) { + // Automatically generated Moodle v5.1.0 release upgrade line. + // Put any upgrade step following this. + if ($oldversion < 2025100601) { // Changing precision of field name on table page to (1333). $table = new xmldb_table('page'); $field = new xmldb_field('name', XMLDB_TYPE_CHAR, '1333', null, XMLDB_NOTNULL, null, null, 'course'); @@ -71,11 +73,8 @@ function xmldb_page_upgrade($oldversion) { $dbman->change_field_precision($table, $field); // Page savepoint reached. - upgrade_mod_savepoint(true, 2025041401, 'page'); + upgrade_mod_savepoint(true, 2025100601, 'page'); } - // Automatically generated Moodle v5.1.0 release upgrade line. - // Put any upgrade step following this. - return true; } diff --git a/public/mod/page/version.php b/public/mod/page/version.php index 178300710aa..afb7982eb2b 100644 --- a/public/mod/page/version.php +++ b/public/mod/page/version.php @@ -24,7 +24,7 @@ defined('MOODLE_INTERNAL') || die(); -$plugin->version = 2025100600; // The current module version (Date: YYYYMMDDXX). +$plugin->version = 2025100601; // The current module version (Date: YYYYMMDDXX). $plugin->requires = 2025092600; // Requires this Moodle version. $plugin->component = 'mod_page'; // Full name of the plugin (used for diagnostics) $plugin->cron = 0; diff --git a/public/mod/qbank/db/upgrade.php b/public/mod/qbank/db/upgrade.php index e21aaa71610..5d6a6059341 100644 --- a/public/mod/qbank/db/upgrade.php +++ b/public/mod/qbank/db/upgrade.php @@ -38,8 +38,10 @@ function xmldb_qbank_upgrade($oldversion) { // Automatically generated Moodle v5.0.0 release upgrade line. // Put any upgrade step following this. - if ($oldversion < 2025041401) { + // Automatically generated Moodle v5.1.0 release upgrade line. + // Put any upgrade step following this. + if ($oldversion < 2025100601) { // Changing precision of field name on table qbank to (1333). $table = new xmldb_table('qbank'); $field = new xmldb_field('name', XMLDB_TYPE_CHAR, '1333', null, XMLDB_NOTNULL, null, null, 'course'); @@ -48,11 +50,8 @@ function xmldb_qbank_upgrade($oldversion) { $dbman->change_field_precision($table, $field); // Qbank savepoint reached. - upgrade_mod_savepoint(true, 2025041401, 'qbank'); + upgrade_mod_savepoint(true, 2025100601, 'qbank'); } - // Automatically generated Moodle v5.1.0 release upgrade line. - // Put any upgrade step following this. - return true; } diff --git a/public/mod/qbank/version.php b/public/mod/qbank/version.php index 4bb2e7481d0..b2efe4a809e 100644 --- a/public/mod/qbank/version.php +++ b/public/mod/qbank/version.php @@ -26,5 +26,5 @@ defined('MOODLE_INTERNAL') || die(); $plugin->component = 'mod_qbank'; -$plugin->version = 2025100600; +$plugin->version = 2025100601; $plugin->requires = 2025092600; diff --git a/public/mod/quiz/db/upgrade.php b/public/mod/quiz/db/upgrade.php index fbd6d6a80fb..77983bf4a87 100644 --- a/public/mod/quiz/db/upgrade.php +++ b/public/mod/quiz/db/upgrade.php @@ -136,8 +136,10 @@ function xmldb_quiz_upgrade($oldversion) { // Automatically generated Moodle v5.0.0 release upgrade line. // Put any upgrade step following this. - if ($oldversion < 2025041401) { + // Automatically generated Moodle v5.1.0 release upgrade line. + // Put any upgrade step following this. + if ($oldversion < 2025100601) { // Changing precision of field name on table quiz to (1333). $table = new xmldb_table('quiz'); $field = new xmldb_field('name', XMLDB_TYPE_CHAR, '1333', null, XMLDB_NOTNULL, null, null, 'course'); @@ -146,11 +148,8 @@ function xmldb_quiz_upgrade($oldversion) { $dbman->change_field_precision($table, $field); // Quiz savepoint reached. - upgrade_mod_savepoint(true, 2025041401, 'quiz'); + upgrade_mod_savepoint(true, 2025100601, 'quiz'); } - // Automatically generated Moodle v5.1.0 release upgrade line. - // Put any upgrade step following this. - return true; } diff --git a/public/mod/quiz/version.php b/public/mod/quiz/version.php index 80899f4010f..b876299c2be 100644 --- a/public/mod/quiz/version.php +++ b/public/mod/quiz/version.php @@ -24,6 +24,6 @@ defined('MOODLE_INTERNAL') || die(); -$plugin->version = 2025100600; +$plugin->version = 2025100601; $plugin->requires = 2025092600; $plugin->component = 'mod_quiz'; diff --git a/public/mod/resource/db/upgrade.php b/public/mod/resource/db/upgrade.php index da36e96bfc1..bbc9195fd11 100644 --- a/public/mod/resource/db/upgrade.php +++ b/public/mod/resource/db/upgrade.php @@ -61,8 +61,10 @@ function xmldb_resource_upgrade($oldversion) { // Automatically generated Moodle v5.0.0 release upgrade line. // Put any upgrade step following this. - if ($oldversion < 2025041401) { + // Automatically generated Moodle v5.1.0 release upgrade line. + // Put any upgrade step following this. + if ($oldversion < 2025100601) { // Changing precision of field name on table resource to (1333). $table = new xmldb_table('resource'); $field = new xmldb_field('name', XMLDB_TYPE_CHAR, '1333', null, XMLDB_NOTNULL, null, null, 'course'); @@ -71,11 +73,8 @@ function xmldb_resource_upgrade($oldversion) { $dbman->change_field_precision($table, $field); // Resource savepoint reached. - upgrade_mod_savepoint(true, 2025041401, 'resource'); + upgrade_mod_savepoint(true, 2025100601, 'resource'); } - // Automatically generated Moodle v5.1.0 release upgrade line. - // Put any upgrade step following this. - return true; } diff --git a/public/mod/resource/version.php b/public/mod/resource/version.php index 49be18489c0..700955430cf 100644 --- a/public/mod/resource/version.php +++ b/public/mod/resource/version.php @@ -24,7 +24,7 @@ defined('MOODLE_INTERNAL') || die(); -$plugin->version = 2025100600; // The current module version (Date: YYYYMMDDXX). +$plugin->version = 2025100601; // The current module version (Date: YYYYMMDDXX). $plugin->requires = 2025092600; // Requires this Moodle version. $plugin->component = 'mod_resource'; // Full name of the plugin (used for diagnostics) $plugin->cron = 0; diff --git a/public/mod/scorm/db/upgrade.php b/public/mod/scorm/db/upgrade.php index c5b1615c994..1114b1b7335 100644 --- a/public/mod/scorm/db/upgrade.php +++ b/public/mod/scorm/db/upgrade.php @@ -196,8 +196,10 @@ function xmldb_scorm_upgrade($oldversion) { // Automatically generated Moodle v5.0.0 release upgrade line. // Put any upgrade step following this. - if ($oldversion < 2025041401) { + // Automatically generated Moodle v5.1.0 release upgrade line. + // Put any upgrade step following this. + if ($oldversion < 2025100601) { // Changing precision of field name on table scorm to (1333). $table = new xmldb_table('scorm'); $field = new xmldb_field('name', XMLDB_TYPE_CHAR, '1333', null, XMLDB_NOTNULL, null, null, 'course'); @@ -206,11 +208,8 @@ function xmldb_scorm_upgrade($oldversion) { $dbman->change_field_precision($table, $field); // Scorm savepoint reached. - upgrade_mod_savepoint(true, 2025041401, 'scorm'); + upgrade_mod_savepoint(true, 2025100601, 'scorm'); } - // Automatically generated Moodle v5.1.0 release upgrade line. - // Put any upgrade step following this. - return true; } diff --git a/public/mod/scorm/version.php b/public/mod/scorm/version.php index d8b4833fd64..dd1768a999a 100644 --- a/public/mod/scorm/version.php +++ b/public/mod/scorm/version.php @@ -24,7 +24,7 @@ defined('MOODLE_INTERNAL') || die(); -$plugin->version = 2025100600; // The current module version (Date: YYYYMMDDXX). +$plugin->version = 2025100601; // The current module version (Date: YYYYMMDDXX). $plugin->requires = 2025092600; // Requires this Moodle version. $plugin->component = 'mod_scorm'; // Full name of the plugin (used for diagnostics). diff --git a/public/mod/subsection/db/upgrade.php b/public/mod/subsection/db/upgrade.php index 67366d065e2..688f892d9d3 100644 --- a/public/mod/subsection/db/upgrade.php +++ b/public/mod/subsection/db/upgrade.php @@ -45,8 +45,10 @@ function xmldb_subsection_upgrade($oldversion) { // Automatically generated Moodle v5.0.0 release upgrade line. // Put any upgrade step following this. - if ($oldversion < 2025041401) { + // Automatically generated Moodle v5.1.0 release upgrade line. + // Put any upgrade step following this. + if ($oldversion < 2025100601) { // Changing precision of field name on table subsection to (1333). $table = new xmldb_table('subsection'); $field = new xmldb_field('name', XMLDB_TYPE_CHAR, '1333', null, XMLDB_NOTNULL, null, null, 'course'); @@ -55,11 +57,8 @@ function xmldb_subsection_upgrade($oldversion) { $dbman->change_field_precision($table, $field); // Subsection savepoint reached. - upgrade_mod_savepoint(true, 2025041401, 'subsection'); + upgrade_mod_savepoint(true, 2025100601, 'subsection'); } - // Automatically generated Moodle v5.1.0 release upgrade line. - // Put any upgrade step following this. - return true; } diff --git a/public/mod/subsection/version.php b/public/mod/subsection/version.php index 59403937cd8..e1592e53f6d 100644 --- a/public/mod/subsection/version.php +++ b/public/mod/subsection/version.php @@ -25,6 +25,6 @@ defined('MOODLE_INTERNAL') || die(); $plugin->component = 'mod_subsection'; -$plugin->version = 2025100600; +$plugin->version = 2025100601; $plugin->requires = 2025092600; $plugin->maturity = MATURITY_STABLE; diff --git a/public/mod/url/db/upgrade.php b/public/mod/url/db/upgrade.php index 306709cfe49..a6f9a6eecd0 100644 --- a/public/mod/url/db/upgrade.php +++ b/public/mod/url/db/upgrade.php @@ -71,8 +71,10 @@ function xmldb_url_upgrade($oldversion) { // Automatically generated Moodle v5.0.0 release upgrade line. // Put any upgrade step following this. - if ($oldversion < 2025041401) { + // Automatically generated Moodle v5.1.0 release upgrade line. + // Put any upgrade step following this. + if ($oldversion < 2025100601) { // Changing precision of field name on table url to (1333). $table = new xmldb_table('url'); $field = new xmldb_field('name', XMLDB_TYPE_CHAR, '1333', null, XMLDB_NOTNULL, null, null, 'course'); @@ -81,11 +83,8 @@ function xmldb_url_upgrade($oldversion) { $dbman->change_field_precision($table, $field); // Url savepoint reached. - upgrade_mod_savepoint(true, 2025041401, 'url'); + upgrade_mod_savepoint(true, 2025100601, 'url'); } - // Automatically generated Moodle v5.1.0 release upgrade line. - // Put any upgrade step following this. - return true; } diff --git a/public/mod/url/version.php b/public/mod/url/version.php index e241a8d9919..0b9025269f3 100644 --- a/public/mod/url/version.php +++ b/public/mod/url/version.php @@ -24,7 +24,7 @@ defined('MOODLE_INTERNAL') || die(); -$plugin->version = 2025100600; // The current module version (Date: YYYYMMDDXX). +$plugin->version = 2025100601; // The current module version (Date: YYYYMMDDXX). $plugin->requires = 2025092600; // Requires this Moodle version. $plugin->component = 'mod_url'; // Full name of the plugin (used for diagnostics) $plugin->cron = 0; diff --git a/public/mod/wiki/db/upgrade.php b/public/mod/wiki/db/upgrade.php index 2bf043e24e1..785f506eba6 100644 --- a/public/mod/wiki/db/upgrade.php +++ b/public/mod/wiki/db/upgrade.php @@ -54,8 +54,10 @@ function xmldb_wiki_upgrade($oldversion) { // Automatically generated Moodle v5.0.0 release upgrade line. // Put any upgrade step following this. - if ($oldversion < 2025041401) { + // Automatically generated Moodle v5.1.0 release upgrade line. + // Put any upgrade step following this. + if ($oldversion < 2025100601) { // Changing precision of field name on table wiki to (1333). $table = new xmldb_table('wiki'); $field = new xmldb_field('name', XMLDB_TYPE_CHAR, '1333', null, XMLDB_NOTNULL, null, 'Wiki', 'course'); @@ -64,11 +66,8 @@ function xmldb_wiki_upgrade($oldversion) { $dbman->change_field_precision($table, $field); // Wiki savepoint reached. - upgrade_mod_savepoint(true, 2025041401, 'wiki'); + upgrade_mod_savepoint(true, 2025100601, 'wiki'); } - // Automatically generated Moodle v5.1.0 release upgrade line. - // Put any upgrade step following this. - return true; } diff --git a/public/mod/wiki/version.php b/public/mod/wiki/version.php index fe8ac1d40f8..0664e6a1d34 100644 --- a/public/mod/wiki/version.php +++ b/public/mod/wiki/version.php @@ -33,6 +33,6 @@ defined('MOODLE_INTERNAL') || die(); -$plugin->version = 2025100600; // The current module version (Date: YYYYMMDDXX). +$plugin->version = 2025100601; // The current module version (Date: YYYYMMDDXX). $plugin->requires = 2025092600; // Requires this Moodle version. $plugin->component = 'mod_wiki'; // Full name of the plugin (used for diagnostics) diff --git a/public/mod/workshop/db/upgrade.php b/public/mod/workshop/db/upgrade.php index a72a2d62162..9e2dc2f93be 100644 --- a/public/mod/workshop/db/upgrade.php +++ b/public/mod/workshop/db/upgrade.php @@ -51,8 +51,10 @@ function xmldb_workshop_upgrade($oldversion) { // Automatically generated Moodle v5.0.0 release upgrade line. // Put any upgrade step following this. - if ($oldversion < 2025041401) { + // Automatically generated Moodle v5.1.0 release upgrade line. + // Put any upgrade step following this. + if ($oldversion < 2025100601) { // Changing precision of field name on table workshop to (1333). $table = new xmldb_table('workshop'); $field = new xmldb_field('name', XMLDB_TYPE_CHAR, '1333', null, XMLDB_NOTNULL, null, null, 'course'); @@ -61,11 +63,8 @@ function xmldb_workshop_upgrade($oldversion) { $dbman->change_field_precision($table, $field); // Workshop savepoint reached. - upgrade_mod_savepoint(true, 2025041401, 'workshop'); + upgrade_mod_savepoint(true, 2025100601, 'workshop'); } - // Automatically generated Moodle v5.1.0 release upgrade line. - // Put any upgrade step following this. - return true; } diff --git a/public/mod/workshop/version.php b/public/mod/workshop/version.php index 8618aa54eed..153daca4660 100644 --- a/public/mod/workshop/version.php +++ b/public/mod/workshop/version.php @@ -24,6 +24,6 @@ defined('MOODLE_INTERNAL') || die(); -$plugin->version = 2025100600; // The current module version (YYYYMMDDXX). +$plugin->version = 2025100601; // The current module version (YYYYMMDDXX). $plugin->requires = 2025092600; // Requires this Moodle version. $plugin->component = 'mod_workshop';