MDL-88011 core: Fix wrong remaining version bumpings
This commit is contained in:
committed by
Mihail Geshoski
parent
a17cc80ab2
commit
c756d8af89
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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).
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -27,6 +27,6 @@
|
||||
defined('MOODLE_INTERNAL') || die;
|
||||
|
||||
|
||||
$plugin->version = 2025100600;
|
||||
$plugin->version = 2026022300;
|
||||
$plugin->requires = 2025092600;
|
||||
$plugin->component = 'mod_bigbluebuttonbn';
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -25,5 +25,5 @@
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
$plugin->component = 'mod_h5pactivity';
|
||||
$plugin->version = 2025100600;
|
||||
$plugin->version = 2026022300;
|
||||
$plugin->requires = 2025092600;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -26,5 +26,5 @@
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
$plugin->component = 'mod_qbank';
|
||||
$plugin->version = 2025100600;
|
||||
$plugin->version = 2026022300;
|
||||
$plugin->requires = 2025092600;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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).
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user