diff --git a/public/admin/tool/recyclebin/db/upgrade.php b/public/admin/tool/recyclebin/db/upgrade.php index 4d98c492a94..bfbe51e97da 100644 --- a/public/admin/tool/recyclebin/db/upgrade.php +++ b/public/admin/tool/recyclebin/db/upgrade.php @@ -43,8 +43,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 < 2026022300) { // 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'); @@ -67,11 +69,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, 2026022300, '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..1a45f6ef494 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 = 2026022300; // 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 0d835e1d4c5..6a79a0c5a0c 100644 --- a/public/mod/assign/db/upgrade.php +++ b/public/mod/assign/db/upgrade.php @@ -116,8 +116,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 < 2026022300) { // 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'); @@ -126,11 +128,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, 2026022300, '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..0dc6b54f3ca 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 = 2026022300; // 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 03faa9420d5..62ec8ed6ade 100644 --- a/public/mod/bigbluebuttonbn/db/upgrade.php +++ b/public/mod/bigbluebuttonbn/db/upgrade.php @@ -77,8 +77,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 < 2026022300) { // Changing precision of field name on table bigbluebuttonbn to (1333). $table = new xmldb_table('bigbluebuttonbn'); @@ -88,12 +90,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, 2026022300, '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..51c59e34881 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 = 2026022300; $plugin->requires = 2025092600; $plugin->component = 'mod_bigbluebuttonbn'; diff --git a/public/mod/book/db/upgrade.php b/public/mod/book/db/upgrade.php index 5a7137955f7..37431e11be7 100644 --- a/public/mod/book/db/upgrade.php +++ b/public/mod/book/db/upgrade.php @@ -40,8 +40,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 < 2026022300) { // 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'); @@ -57,11 +59,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, 2026022300, '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..abd40babdf8 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 = 2026022300; // 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 5aefcbc4420..62e597bf2ca 100644 --- a/public/mod/choice/db/upgrade.php +++ b/public/mod/choice/db/upgrade.php @@ -52,8 +52,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 < 2026022300) { // 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'); @@ -62,11 +64,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, 2026022300, '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..42842b1ecb6 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 = 2026022300; // 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 6d8f7dfd246..d1637a3a39e 100644 --- a/public/mod/data/db/upgrade.php +++ b/public/mod/data/db/upgrade.php @@ -52,8 +52,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 < 2026022300) { // 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'); @@ -62,11 +64,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, 2026022300, '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..ad19ce24b5f 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 = 2026022300; // 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 d33722ae7ed..f3e07870309 100644 --- a/public/mod/feedback/db/upgrade.php +++ b/public/mod/feedback/db/upgrade.php @@ -52,8 +52,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 < 2026022300) { // 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'); @@ -69,11 +71,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, 2026022300, '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..4de0236a839 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 = 2026022300; // 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 7ed350c5fc0..9df35171e44 100644 --- a/public/mod/folder/db/upgrade.php +++ b/public/mod/folder/db/upgrade.php @@ -55,8 +55,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 < 2026022300) { // 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'); @@ -65,11 +67,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, 2026022300, '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..074c221f8b9 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 = 2026022300; // 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/glossary/db/upgrade.php b/public/mod/glossary/db/upgrade.php index 7af2b68fdb0..473c461042b 100644 --- a/public/mod/glossary/db/upgrade.php +++ b/public/mod/glossary/db/upgrade.php @@ -52,8 +52,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 < 2026022300) { // 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'); @@ -62,11 +64,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, 2026022300, '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..e7b0803598a 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 = 2026022300; // 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 e57696590cd..dd2c196c368 100644 --- a/public/mod/h5pactivity/db/upgrade.php +++ b/public/mod/h5pactivity/db/upgrade.php @@ -57,8 +57,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 < 2026022300) { // 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'); @@ -67,11 +69,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, 2026022300, '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..c0faada71e3 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 = 2026022300; $plugin->requires = 2025092600; diff --git a/public/mod/imscp/db/upgrade.php b/public/mod/imscp/db/upgrade.php index aadde996f65..8b506db4d01 100644 --- a/public/mod/imscp/db/upgrade.php +++ b/public/mod/imscp/db/upgrade.php @@ -39,8 +39,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 < 2026022300) { // 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'); @@ -49,11 +51,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, 2026022300, '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..adadd65abfc 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 = 2026022300; // 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 37d09c52e43..698e67336af 100644 --- a/public/mod/label/db/upgrade.php +++ b/public/mod/label/db/upgrade.php @@ -62,8 +62,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 < 2026022300) { // 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'); @@ -72,11 +74,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, 2026022300, '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..35b0b4035ca 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 = 2026022300; // 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 ac03d14e8f3..03d0e114f96 100644 --- a/public/mod/lesson/db/upgrade.php +++ b/public/mod/lesson/db/upgrade.php @@ -60,8 +60,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 < 2026022300) { // 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'); @@ -70,11 +72,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, 2026022300, '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..7329a5181d0 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 = 2026022300; // 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 b5dec6478ed..76ad0fc7dcd 100644 --- a/public/mod/lti/db/upgrade.php +++ b/public/mod/lti/db/upgrade.php @@ -70,8 +70,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 < 2026022300) { // 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'); @@ -80,11 +82,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, 2026022300, '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..27276f1410a 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 = 2026022300; // 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 81ded07fcea..ef2cea31390 100644 --- a/public/mod/page/db/upgrade.php +++ b/public/mod/page/db/upgrade.php @@ -55,8 +55,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 < 2026022300) { // 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'); @@ -65,11 +67,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, 2026022300, '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..20d5f1b5a28 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 = 2026022300; // 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..eca54a9b250 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 < 2026022300) { // 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, 2026022300, '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..6dc4c0f79a2 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 = 2026022300; $plugin->requires = 2025092600; diff --git a/public/mod/resource/db/upgrade.php b/public/mod/resource/db/upgrade.php index ff887f19bab..39d1128cb1c 100644 --- a/public/mod/resource/db/upgrade.php +++ b/public/mod/resource/db/upgrade.php @@ -55,8 +55,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 < 2026022300) { // 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'); @@ -65,11 +67,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, 2026022300, '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..5d2faedc422 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 = 2026022300; // 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 c659521ffac..c4bc79b57e0 100644 --- a/public/mod/scorm/db/upgrade.php +++ b/public/mod/scorm/db/upgrade.php @@ -41,8 +41,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 < 2026022300) { // 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'); @@ -51,11 +53,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, 2026022300, '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..c1fed5dcaa5 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 = 2026022300; // 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/url/db/upgrade.php b/public/mod/url/db/upgrade.php index e32c6e777a8..7eead8ec62b 100644 --- a/public/mod/url/db/upgrade.php +++ b/public/mod/url/db/upgrade.php @@ -55,8 +55,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 < 2026022300) { // 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'); @@ -65,11 +67,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, 2026022300, '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..cdd0cd0be8e 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 = 2026022300; // 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 5e3f7411094..f36d10478cc 100644 --- a/public/mod/wiki/db/upgrade.php +++ b/public/mod/wiki/db/upgrade.php @@ -48,8 +48,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 < 2026022300) { // 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'); @@ -58,11 +60,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, 2026022300, '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..14a34be6b83 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 = 2026022300; // 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 30f43475997..6379557a4e7 100644 --- a/public/mod/workshop/db/upgrade.php +++ b/public/mod/workshop/db/upgrade.php @@ -45,8 +45,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 < 2026022300) { // 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'); @@ -55,11 +57,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, 2026022300, '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..d5d4b13b950 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 = 2026022300; // The current module version (YYYYMMDDXX). $plugin->requires = 2025092600; // Requires this Moodle version. $plugin->component = 'mod_workshop';