Skip to content

Commit

Permalink
MDL-74510 upgrade: add the 4.0.0 separation line to all upgrade scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk7 committed Apr 22, 2022
1 parent 998c632 commit 76f5445
Show file tree
Hide file tree
Showing 123 changed files with 370 additions and 0 deletions.
3 changes: 3 additions & 0 deletions admin/tool/cohortroles/db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,8 @@ function xmldb_tool_cohortroles_upgrade($oldversion) {
// Automatically generated Moodle v3.9.0 release upgrade line.
// Put any upgrade step following this.

// Automatically generated Moodle v4.0.0 release upgrade line.
// Put any upgrade step following this.

return true;
}
3 changes: 3 additions & 0 deletions admin/tool/customlang/db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,8 @@ function xmldb_tool_customlang_upgrade($oldversion) {
// Automatically generated Moodle v3.9.0 release upgrade line.
// Put any upgrade step following this.

// Automatically generated Moodle v4.0.0 release upgrade line.
// Put any upgrade step following this.

return true;
}
3 changes: 3 additions & 0 deletions admin/tool/dataprivacy/db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,8 @@ function xmldb_tool_dataprivacy_upgrade($oldversion) {
upgrade_plugin_savepoint(true, 2020061501, 'tool', 'dataprivacy');
}

// Automatically generated Moodle v4.0.0 release upgrade line.
// Put any upgrade step following this.

return true;
}
3 changes: 3 additions & 0 deletions admin/tool/log/db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,8 @@ function xmldb_tool_log_upgrade($oldversion) {
// Automatically generated Moodle v3.9.0 release upgrade line.
// Put any upgrade step following this.

// Automatically generated Moodle v4.0.0 release upgrade line.
// Put any upgrade step following this.

return true;
}
3 changes: 3 additions & 0 deletions admin/tool/log/store/database/db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,8 @@ function xmldb_logstore_database_upgrade($oldversion) {
// Automatically generated Moodle v3.9.0 release upgrade line.
// Put any upgrade step following this.

// Automatically generated Moodle v4.0.0 release upgrade line.
// Put any upgrade step following this.

return true;
}
3 changes: 3 additions & 0 deletions admin/tool/log/store/standard/db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,8 @@ function xmldb_logstore_standard_upgrade($oldversion) {
// Automatically generated Moodle v3.9.0 release upgrade line.
// Put any upgrade step following this.

// Automatically generated Moodle v4.0.0 release upgrade line.
// Put any upgrade step following this.

return true;
}
3 changes: 3 additions & 0 deletions admin/tool/mobile/db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,8 @@ function xmldb_tool_mobile_upgrade($oldversion) {
// Automatically generated Moodle v3.9.0 release upgrade line.
// Put any upgrade step following this.

// Automatically generated Moodle v4.0.0 release upgrade line.
// Put any upgrade step following this.

return true;
}
3 changes: 3 additions & 0 deletions admin/tool/monitor/db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,8 @@ function xmldb_tool_monitor_upgrade($oldversion) {
// Automatically generated Moodle v3.9.0 release upgrade line.
// Put any upgrade step following this.

// Automatically generated Moodle v4.0.0 release upgrade line.
// Put any upgrade step following this.

return true;
}
3 changes: 3 additions & 0 deletions admin/tool/moodlenet/db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -164,5 +164,8 @@ function xmldb_tool_moodlenet_upgrade(int $oldversion) {
upgrade_plugin_savepoint(true, 2022021601, 'tool', 'moodlenet');
}

// Automatically generated Moodle v4.0.0 release upgrade line.
// Put any upgrade step following this.

return true;
}
3 changes: 3 additions & 0 deletions admin/tool/policy/db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,8 @@ function xmldb_tool_policy_upgrade($oldversion) {
// Automatically generated Moodle v3.9.0 release upgrade line.
// Put any upgrade step following this.

// Automatically generated Moodle v4.0.0 release upgrade line.
// Put any upgrade step following this.

return true;
}
3 changes: 3 additions & 0 deletions admin/tool/usertours/db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,5 +129,8 @@ function xmldb_tool_usertours_upgrade($oldversion) {
upgrade_plugin_savepoint(true, 2022040602, 'tool', 'usertours');
}

// Automatically generated Moodle v4.0.0 release upgrade line.
// Put any upgrade step following this.

return true;
}
3 changes: 3 additions & 0 deletions auth/cas/db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,8 @@ function xmldb_auth_cas_upgrade($oldversion) {
upgrade_plugin_savepoint(true, 2021052501, 'auth', 'cas');
}

// Automatically generated Moodle v4.0.0 release upgrade line.
// Put any upgrade step following this.

return true;
}
3 changes: 3 additions & 0 deletions auth/db/db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,8 @@ function xmldb_auth_db_upgrade($oldversion) {
// Automatically generated Moodle v3.9.0 release upgrade line.
// Put any upgrade step following this.

// Automatically generated Moodle v4.0.0 release upgrade line.
// Put any upgrade step following this.

return true;
}
3 changes: 3 additions & 0 deletions auth/email/db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,8 @@ function xmldb_auth_email_upgrade($oldversion) {
// Automatically generated Moodle v3.9.0 release upgrade line.
// Put any upgrade step following this.

// Automatically generated Moodle v4.0.0 release upgrade line.
// Put any upgrade step following this.

return true;
}
3 changes: 3 additions & 0 deletions auth/ldap/db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,8 @@ function xmldb_auth_ldap_upgrade($oldversion) {
upgrade_plugin_savepoint(true, 2021052501, 'auth', 'ldap');
}

// Automatically generated Moodle v4.0.0 release upgrade line.
// Put any upgrade step following this.

return true;
}
3 changes: 3 additions & 0 deletions auth/lti/db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,5 +85,8 @@ function xmldb_auth_lti_upgrade($oldversion) {
upgrade_plugin_savepoint(true, 2022030900, 'auth', 'lti');
}

// Automatically generated Moodle v4.0.0 release upgrade line.
// Put any upgrade step following this.

return true;
}
3 changes: 3 additions & 0 deletions auth/manual/db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,8 @@ function xmldb_auth_manual_upgrade($oldversion) {
// Automatically generated Moodle v3.9.0 release upgrade line.
// Put any upgrade step following this.

// Automatically generated Moodle v4.0.0 release upgrade line.
// Put any upgrade step following this.

return true;
}
3 changes: 3 additions & 0 deletions auth/mnet/db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,8 @@ function xmldb_auth_mnet_upgrade($oldversion) {
// Automatically generated Moodle v3.9.0 release upgrade line.
// Put any upgrade step following this.

// Automatically generated Moodle v4.0.0 release upgrade line.
// Put any upgrade step following this.

return true;
}
3 changes: 3 additions & 0 deletions auth/none/db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,8 @@ function xmldb_auth_none_upgrade($oldversion) {
// Automatically generated Moodle v3.9.0 release upgrade line.
// Put any upgrade step following this.

// Automatically generated Moodle v4.0.0 release upgrade line.
// Put any upgrade step following this.

return true;
}
3 changes: 3 additions & 0 deletions auth/oauth2/db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,8 @@ function xmldb_auth_oauth2_upgrade($oldversion) {
// Automatically generated Moodle v3.9.0 release upgrade line.
// Put any upgrade step following this.

// Automatically generated Moodle v4.0.0 release upgrade line.
// Put any upgrade step following this.

return true;
}
3 changes: 3 additions & 0 deletions auth/shibboleth/db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,8 @@ function xmldb_auth_shibboleth_upgrade($oldversion) {
upgrade_plugin_savepoint(true, 2021052501, 'auth', 'shibboleth');
}

// Automatically generated Moodle v4.0.0 release upgrade line.
// Put any upgrade step following this.

return true;
}
3 changes: 3 additions & 0 deletions blocks/badges/db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,8 @@ function xmldb_block_badges_upgrade($oldversion, $block) {
// Automatically generated Moodle v3.9.0 release upgrade line.
// Put any upgrade step following this.

// Automatically generated Moodle v4.0.0 release upgrade line.
// Put any upgrade step following this.

return true;
}
3 changes: 3 additions & 0 deletions blocks/calendar_month/db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,8 @@ function xmldb_block_calendar_month_upgrade($oldversion, $block) {
upgrade_block_savepoint(true, 2022041901, 'calendar_month', false);
}

// Automatically generated Moodle v4.0.0 release upgrade line.
// Put any upgrade step following this.

return true;
}
3 changes: 3 additions & 0 deletions blocks/calendar_upcoming/db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,8 @@ function xmldb_block_calendar_upcoming_upgrade($oldversion, $block) {
// Automatically generated Moodle v3.9.0 release upgrade line.
// Put any upgrade step following this.

// Automatically generated Moodle v4.0.0 release upgrade line.
// Put any upgrade step following this.

return true;
}
3 changes: 3 additions & 0 deletions blocks/completionstatus/db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,8 @@ function xmldb_block_completionstatus_upgrade($oldversion, $block) {
// Automatically generated Moodle v3.9.0 release upgrade line.
// Put any upgrade step following this.

// Automatically generated Moodle v4.0.0 release upgrade line.
// Put any upgrade step following this.

return true;
}
3 changes: 3 additions & 0 deletions blocks/course_summary/db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,8 @@ function xmldb_block_course_summary_upgrade($oldversion, $block) {
upgrade_block_savepoint(true, 2021121600, 'course_summary', false);
}

// Automatically generated Moodle v4.0.0 release upgrade line.
// Put any upgrade step following this.

return true;
}
3 changes: 3 additions & 0 deletions blocks/feedback/db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,8 @@ function xmldb_block_feedback_upgrade($oldversion, $block) {
upgrade_block_savepoint(true, 2021121600, 'feedback', false);
}

// Automatically generated Moodle v4.0.0 release upgrade line.
// Put any upgrade step following this.

return true;
}
3 changes: 3 additions & 0 deletions blocks/html/db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,8 @@ function xmldb_block_html_upgrade($oldversion) {
// Automatically generated Moodle v3.9.0 release upgrade line.
// Put any upgrade step following this.

// Automatically generated Moodle v4.0.0 release upgrade line.
// Put any upgrade step following this.

return true;
}
3 changes: 3 additions & 0 deletions blocks/myoverview/db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,5 +120,8 @@ function xmldb_block_myoverview_upgrade($oldversion) {
upgrade_block_savepoint(true, 2022041901, 'myoverview', false);
}

// Automatically generated Moodle v4.0.0 release upgrade line.
// Put any upgrade step following this.

return true;
}
3 changes: 3 additions & 0 deletions blocks/navigation/db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,8 @@ function xmldb_block_navigation_upgrade($oldversion, $block) {
// Automatically generated Moodle v3.9.0 release upgrade line.
// Put any upgrade step following this.

// Automatically generated Moodle v4.0.0 release upgrade line.
// Put any upgrade step following this.

return true;
}
3 changes: 3 additions & 0 deletions blocks/recent_activity/db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,8 @@ function xmldb_block_recent_activity_upgrade($oldversion, $block) {
// Automatically generated Moodle v3.9.0 release upgrade line.
// Put any upgrade step following this.

// Automatically generated Moodle v4.0.0 release upgrade line.
// Put any upgrade step following this.

return true;
}
3 changes: 3 additions & 0 deletions blocks/recentlyaccesseditems/db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,8 @@ function xmldb_block_recentlyaccesseditems_upgrade($oldversion, $block) {
upgrade_block_savepoint(true, 2022041901, 'recentlyaccesseditems', false);
}

// Automatically generated Moodle v4.0.0 release upgrade line.
// Put any upgrade step following this.

return true;
}
3 changes: 3 additions & 0 deletions blocks/rss_client/db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,8 @@ function xmldb_block_rss_client_upgrade($oldversion) {
upgrade_block_savepoint(true, 2021121600, 'rss_client', false);
}

// Automatically generated Moodle v4.0.0 release upgrade line.
// Put any upgrade step following this.

return true;
}
3 changes: 3 additions & 0 deletions blocks/section_links/db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,8 @@ function xmldb_block_section_links_upgrade($oldversion, $block) {
// Automatically generated Moodle v3.9.0 release upgrade line.
// Put any upgrade step following this.

// Automatically generated Moodle v4.0.0 release upgrade line.
// Put any upgrade step following this.

return true;
}
3 changes: 3 additions & 0 deletions blocks/selfcompletion/db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,8 @@ function xmldb_block_selfcompletion_upgrade($oldversion, $block) {
upgrade_block_savepoint(true, 2021121600, 'selfcompletion', false);
}

// Automatically generated Moodle v4.0.0 release upgrade line.
// Put any upgrade step following this.

return true;
}
3 changes: 3 additions & 0 deletions blocks/settings/db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,8 @@ function xmldb_block_settings_upgrade($oldversion, $block) {
// Automatically generated Moodle v3.9.0 release upgrade line.
// Put any upgrade step following this.

// Automatically generated Moodle v4.0.0 release upgrade line.
// Put any upgrade step following this.

return true;
}
3 changes: 3 additions & 0 deletions blocks/tag_youtube/db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,5 +132,8 @@ function xmldb_block_tag_youtube_upgrade($oldversion) {
upgrade_block_savepoint(true, 2021052501, 'tag_youtube', false);
}

// Automatically generated Moodle v4.0.0 release upgrade line.
// Put any upgrade step following this.

return true;
}
3 changes: 3 additions & 0 deletions blocks/timeline/db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,8 @@ function xmldb_block_timeline_upgrade($oldversion, $block) {
upgrade_block_savepoint(true, 2022041901, 'timeline', false);
}

// Automatically generated Moodle v4.0.0 release upgrade line.
// Put any upgrade step following this.

return true;
}
3 changes: 3 additions & 0 deletions course/format/topics/db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,8 @@ function xmldb_format_topics_upgrade($oldversion) {
// Automatically generated Moodle v3.9.0 release upgrade line.
// Put any upgrade step following this.

// Automatically generated Moodle v4.0.0 release upgrade line.
// Put any upgrade step following this.

return true;
}
3 changes: 3 additions & 0 deletions course/format/weeks/db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,8 @@ function xmldb_format_weeks_upgrade($oldversion) {
// Automatically generated Moodle v3.9.0 release upgrade line.
// Put any upgrade step following this.

// Automatically generated Moodle v4.0.0 release upgrade line.
// Put any upgrade step following this.

return true;
}
3 changes: 3 additions & 0 deletions enrol/database/db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,8 @@ function xmldb_enrol_database_upgrade($oldversion) {
// Automatically generated Moodle v3.9.0 release upgrade line.
// Put any upgrade step following this.

// Automatically generated Moodle v4.0.0 release upgrade line.
// Put any upgrade step following this.

return true;
}
3 changes: 3 additions & 0 deletions enrol/flatfile/db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,8 @@ function xmldb_enrol_flatfile_upgrade($oldversion) {
// Automatically generated Moodle v3.9.0 release upgrade line.
// Put any upgrade step following this.

// Automatically generated Moodle v4.0.0 release upgrade line.
// Put any upgrade step following this.

return true;
}
3 changes: 3 additions & 0 deletions enrol/guest/db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,8 @@ function xmldb_enrol_guest_upgrade($oldversion) {
// Automatically generated Moodle v3.9.0 release upgrade line.
// Put any upgrade step following this.

// Automatically generated Moodle v4.0.0 release upgrade line.
// Put any upgrade step following this.

return true;
}
3 changes: 3 additions & 0 deletions enrol/imsenterprise/db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,8 @@ function xmldb_enrol_imsenterprise_upgrade($oldversion) {
// Automatically generated Moodle v3.9.0 release upgrade line.
// Put any upgrade step following this.

// Automatically generated Moodle v4.0.0 release upgrade line.
// Put any upgrade step following this.

return true;
}
Loading

0 comments on commit 76f5445

Please sign in to comment.