Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-28169 Installation Added 2.1 upgrade (idiot proof) lines to upgra…

…de scripts.
  • Loading branch information...
commit 2fa78e85e9fa9b05f211fe77f469990768abf0d2 1 parent dd402d1
@nebgor nebgor authored stronk7 committed
Showing with 139 additions and 1 deletion.
  1. +3 −0  auth/manual/db/upgrade.php
  2. +3 −0  auth/mnet/db/upgrade.php
  3. +2 −0  blocks/community/db/upgrade.php
  4. +3 −0  blocks/html/db/upgrade.php
  5. +3 −0  blocks/navigation/db/upgrade.php
  6. +3 −0  blocks/settings/db/upgrade.php
  7. +3 −0  enrol/authorize/db/upgrade.php
  8. +2 −0  enrol/imsenterprise/db/upgrade.php
  9. +3 −0  enrol/mnet/db/upgrade.php
  10. +2 −0  enrol/paypal/db/upgrade.php
  11. +3 −0  filter/mediaplugin/db/upgrade.php
  12. +3 −0  filter/tex/db/upgrade.php
  13. +3 −0  lib/db/upgrade.php
  14. +3 −0  message/output/email/db/upgrade.php
  15. +3 −0  message/output/jabber/db/upgrade.php
  16. +3 −0  message/output/popup/db/upgrade.php
  17. +3 −0  mod/assignment/db/upgrade.php
  18. +4 −0 mod/chat/db/upgrade.php
  19. +3 −0  mod/choice/db/upgrade.php
  20. +3 −0  mod/data/db/upgrade.php
  21. +4 −0 mod/feedback/db/upgrade.php
  22. +2 −0  mod/folder/db/upgrade.php
  23. +3 −0  mod/forum/db/upgrade.php
  24. +3 −0  mod/glossary/db/upgrade.php
  25. +2 −0  mod/imscp/db/upgrade.php
  26. +3 −0  mod/label/db/upgrade.php
  27. +3 −0  mod/lesson/db/upgrade.php
  28. +2 −1  mod/page/db/upgrade.php
  29. +3 −0  mod/quiz/db/upgrade.php
  30. +3 −0  mod/quiz/report/overview/db/upgrade.php
  31. +3 −0  mod/quiz/report/statistics/db/upgrade.php
  32. +3 −0  mod/resource/db/upgrade.php
  33. +3 −0  mod/scorm/db/upgrade.php
  34. +3 −0  mod/survey/db/upgrade.php
  35. +2 −0  mod/url/db/upgrade.php
  36. +3 −0  mod/wiki/db/upgrade.php
  37. +3 −0  mod/workshop/db/upgrade.php
  38. +3 −0  mod/workshop/form/accumulative/db/upgrade.php
  39. +3 −0  mod/workshop/form/comments/db/upgrade.php
  40. +3 −0  mod/workshop/form/numerrors/db/upgrade.php
  41. +3 −0  mod/workshop/form/rubric/db/upgrade.php
  42. +3 −0  question/type/calculated/db/upgrade.php
  43. +3 −0  question/type/essay/db/upgrade.php
  44. +3 −0  question/type/match/db/upgrade.php
  45. +3 −0  question/type/multianswer/db/upgrade.php
  46. +3 −0  question/type/multichoice/db/upgrade.php
  47. +3 −0  question/type/numerical/db/upgrade.php
  48. +3 −0  theme/formal_white/db/upgrade.php
View
3  auth/manual/db/upgrade.php
@@ -45,5 +45,8 @@ function xmldb_auth_manual_upgrade($oldversion) {
upgrade_plugin_savepoint(true, 2011022700, 'auth', 'manual');
}
+ // Moodle v2.1.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3  auth/mnet/db/upgrade.php
@@ -43,5 +43,8 @@ function xmldb_auth_mnet_upgrade($oldversion) {
upgrade_plugin_savepoint(true, 2010071300, 'auth', 'mnet');
}
+ // Moodle v2.1.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
2  blocks/community/db/upgrade.php
@@ -73,6 +73,8 @@ function xmldb_block_community_upgrade($oldversion) {
upgrade_block_savepoint(true, 2010042701, 'community');
}
+ // Moodle v2.1.0 release upgrade line
+ // Put any upgrade step following this
return true;
}
View
3  blocks/html/db/upgrade.php
@@ -63,5 +63,8 @@ function xmldb_block_html_upgrade($oldversion) {
upgrade_block_savepoint(true, 2010071900, 'html');
}
+ // Moodle v2.1.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3  blocks/navigation/db/upgrade.php
@@ -72,5 +72,8 @@ function xmldb_block_navigation_upgrade($oldversion, $block) {
upgrade_block_savepoint(true, 2010091400, 'navigation');
}
+ // Moodle v2.1.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3  blocks/settings/db/upgrade.php
@@ -72,5 +72,8 @@ function xmldb_block_settings_upgrade($oldversion, $block) {
upgrade_block_savepoint(true, 2010091400, 'settings');
}
+ // Moodle v2.1.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3  enrol/authorize/db/upgrade.php
@@ -93,5 +93,8 @@ function xmldb_enrol_authorize_upgrade($oldversion) {
upgrade_plugin_savepoint(true, 2010081203, 'enrol', 'authorize');
}
+ // Moodle v2.1.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
2  enrol/imsenterprise/db/upgrade.php
@@ -80,6 +80,8 @@ function xmldb_enrol_imsenterprise_upgrade($oldversion) {
upgrade_plugin_savepoint(true, 2011013000, 'enrol', 'imsenterprise');
}
+ // Moodle v2.1.0 release upgrade line
+ // Put any upgrade step following this
return true;
}
View
3  enrol/mnet/db/upgrade.php
@@ -36,5 +36,8 @@ function xmldb_enrol_mnet_upgrade($oldversion) {
upgrade_plugin_savepoint(true, 2010071701, 'enrol', 'mnet');
}
+ // Moodle v2.1.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
2  enrol/paypal/db/upgrade.php
@@ -59,6 +59,8 @@ function xmldb_enrol_paypal_upgrade($oldversion) {
upgrade_plugin_savepoint(true, 2010071500, 'enrol', 'paypal');
}
+ // Moodle v2.1.0 release upgrade line
+ // Put any upgrade step following this
return true;
}
View
3  filter/mediaplugin/db/upgrade.php
@@ -43,5 +43,8 @@ function xmldb_filter_mediaplugin_upgrade($oldversion) {
upgrade_plugin_savepoint(true, 2011030900, 'filter', 'mediaplugin');
}
+ // Moodle v2.1.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3  filter/tex/db/upgrade.php
@@ -38,5 +38,8 @@ function xmldb_filter_tex_upgrade($oldversion) {
upgrade_plugin_savepoint(true, 2011031301, 'filter', 'tex');
}
+ // Moodle v2.1.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3  lib/db/upgrade.php
@@ -6634,6 +6634,9 @@ function xmldb_main_upgrade($oldversion) {
upgrade_main_savepoint(true, 2011062400.03);
}
+ // Moodle v2.1.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3  message/output/email/db/upgrade.php
@@ -47,6 +47,9 @@ function xmldb_message_email_upgrade($oldversion) {
upgrade_plugin_savepoint(true, 2008072401, 'message', 'email');
}
+ // Moodle v2.1.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3  message/output/jabber/db/upgrade.php
@@ -47,6 +47,9 @@ function xmldb_message_jabber_upgrade($oldversion) {
upgrade_plugin_savepoint(true, 2008072401, 'message', 'jabber');
}
+ // Moodle v2.1.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3  message/output/popup/db/upgrade.php
@@ -47,6 +47,9 @@ function xmldb_message_popup_upgrade($oldversion) {
upgrade_plugin_savepoint(true, 2008072401, 'message', 'popup');
}
+ // Moodle v2.1.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3  mod/assignment/db/upgrade.php
@@ -154,6 +154,9 @@ function xmldb_assignment_upgrade($oldversion) {
upgrade_mod_savepoint(true, 2009042001, 'assignment');
}
+ // Moodle v2.1.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
4 mod/chat/db/upgrade.php
@@ -99,6 +99,10 @@ function xmldb_chat_upgrade($oldversion) {
/// chat savepoint reached
upgrade_mod_savepoint(true, 2010050102, 'chat');
}
+
+ // Moodle v2.1.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3  mod/choice/db/upgrade.php
@@ -68,6 +68,9 @@ function xmldb_choice_upgrade($oldversion) {
upgrade_mod_savepoint(true, 2010101300, 'choice');
}
+ // Moodle v2.1.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3  mod/data/db/upgrade.php
@@ -338,6 +338,9 @@ function xmldb_data_upgrade($oldversion) {
upgrade_mod_savepoint(true, 2011052300, 'data');
}
+ // Moodle v2.1.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
4 mod/feedback/db/upgrade.php
@@ -304,6 +304,10 @@ function xmldb_feedback_upgrade($oldversion) {
upgrade_mod_savepoint(true, 2010102300, 'feedback');
}
+
+ // Moodle v2.1.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
2  mod/folder/db/upgrade.php
@@ -51,6 +51,8 @@ function xmldb_folder_upgrade($oldversion) {
$dbman = $DB->get_manager();
+ // Moodle v2.1.0 release upgrade line
+ // Put any upgrade step following this
return true;
}
View
3  mod/forum/db/upgrade.php
@@ -338,6 +338,9 @@ function xmldb_forum_upgrade($oldversion) {
upgrade_mod_savepoint(true, 2011052300, 'forum');
}
+ // Moodle v2.1.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3  mod/glossary/db/upgrade.php
@@ -349,6 +349,9 @@ function xmldb_glossary_upgrade($oldversion) {
upgrade_mod_savepoint(true, 2011052300, 'glossary');
}
+ // Moodle v2.1.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
2  mod/imscp/db/upgrade.php
@@ -31,6 +31,8 @@ function xmldb_imscp_upgrade($oldversion) {
$dbman = $DB->get_manager();
+ // Moodle v2.1.0 release upgrade line
+ // Put any upgrade step following this
return true;
}
View
3  mod/label/db/upgrade.php
@@ -82,6 +82,9 @@ function xmldb_label_upgrade($oldversion) {
upgrade_mod_savepoint(true, 2009042201, 'label');
}
+ // Moodle v2.1.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3  mod/lesson/db/upgrade.php
@@ -289,6 +289,9 @@ function xmldb_lesson_upgrade($oldversion) {
upgrade_mod_savepoint(true, 2010121400, 'lesson');
}
+ // Moodle v2.1.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3  mod/page/db/upgrade.php
@@ -52,7 +52,8 @@ function xmldb_page_upgrade($oldversion) {
$dbman = $DB->get_manager();
-
+ // Moodle v2.1.0 release upgrade line
+ // Put any upgrade step following this
return true;
}
View
3  mod/quiz/db/upgrade.php
@@ -1118,6 +1118,9 @@ function xmldb_quiz_upgrade($oldversion) {
upgrade_mod_savepoint(true, 2011051229, 'quiz');
}
+ // Moodle v2.1.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3  mod/quiz/report/overview/db/upgrade.php
@@ -223,5 +223,8 @@ function xmldb_quiz_overview_upgrade($oldversion) {
upgrade_plugin_savepoint(true, 2011021600, 'quiz', 'overview');
}
+ // Moodle v2.1.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3  mod/quiz/report/statistics/db/upgrade.php
@@ -394,6 +394,9 @@ function xmldb_quiz_statistics_upgrade($oldversion) {
upgrade_plugin_savepoint(true, 2011062600, 'quiz', 'statistics');
}
+ // Moodle v2.1.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3  mod/resource/db/upgrade.php
@@ -262,5 +262,8 @@ function xmldb_resource_upgrade($oldversion) {
upgrade_mod_savepoint(true, 2011022700, 'resource');
}
+ // Moodle v2.1.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3  mod/scorm/db/upgrade.php
@@ -535,6 +535,9 @@ function xmldb_scorm_upgrade($oldversion) {
upgrade_mod_savepoint(true, 2011011400, 'scorm');
}
+ // Moodle v2.1.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3  mod/survey/db/upgrade.php
@@ -54,6 +54,9 @@ function xmldb_survey_upgrade($oldversion) {
upgrade_mod_savepoint(true, 2009042002, 'survey');
}
+ // Moodle v2.1.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
2  mod/url/db/upgrade.php
@@ -51,6 +51,8 @@ function xmldb_url_upgrade($oldversion) {
$dbman = $DB->get_manager();
+ // Moodle v2.1.0 release upgrade line
+ // Put any upgrade step following this
return true;
}
View
3  mod/wiki/db/upgrade.php
@@ -370,5 +370,8 @@ function xmldb_wiki_upgrade($oldversion) {
//upgrade_mod_savepoint(true, 2011060300, 'wiki');
//}
+ // Moodle v2.1.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3  mod/workshop/db/upgrade.php
@@ -308,5 +308,8 @@ function xmldb_workshop_upgrade($oldversion) {
upgrade_mod_savepoint(true, 2011021100, 'workshop');
}
+ // Moodle v2.1.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3  mod/workshop/form/accumulative/db/upgrade.php
@@ -49,5 +49,8 @@ function xmldb_workshopform_accumulative_upgrade($oldversion) {
upgrade_plugin_savepoint(true, 2010091700, 'workshopform', 'accumulative');
}
+ // Moodle v2.1.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3  mod/workshop/form/comments/db/upgrade.php
@@ -49,5 +49,8 @@ function xmldb_workshopform_comments_upgrade($oldversion) {
upgrade_plugin_savepoint(true, 2010091700, 'workshopform', 'comments');
}
+ // Moodle v2.1.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3  mod/workshop/form/numerrors/db/upgrade.php
@@ -59,5 +59,8 @@ function xmldb_workshopform_numerrors_upgrade($oldversion) {
upgrade_plugin_savepoint(true, 2010091700, 'workshopform', 'numerrors');
}
+ // Moodle v2.1.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3  mod/workshop/form/rubric/db/upgrade.php
@@ -60,5 +60,8 @@ function xmldb_workshopform_rubric_upgrade($oldversion) {
upgrade_plugin_savepoint(true, 2010091700, 'workshopform', 'rubric');
}
+ // Moodle v2.1.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3  question/type/calculated/db/upgrade.php
@@ -227,6 +227,9 @@ function xmldb_qtype_calculated_upgrade($oldversion) {
upgrade_plugin_savepoint(true, 2011051900, 'qtype', 'calculated');
}
+ // Moodle v2.1.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3  question/type/essay/db/upgrade.php
@@ -87,5 +87,8 @@ function xmldb_qtype_essay_upgrade($oldversion) {
upgrade_plugin_savepoint(true, 2011060300, 'qtype', 'essay');
}
+ // Moodle v2.1.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3  question/type/match/db/upgrade.php
@@ -207,5 +207,8 @@ function xmldb_qtype_match_upgrade($oldversion) {
upgrade_plugin_savepoint(true, 2011011306, 'qtype', 'match');
}
+ // Moodle v2.1.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3  question/type/multianswer/db/upgrade.php
@@ -56,5 +56,8 @@ function xmldb_qtype_multianswer_upgrade($oldversion) {
upgrade_plugin_savepoint(true, 2008050800, 'qtype', 'multianswer');
}
+ // Moodle v2.1.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3  question/type/multichoice/db/upgrade.php
@@ -148,5 +148,8 @@ function xmldb_qtype_multichoice_upgrade($oldversion) {
upgrade_plugin_savepoint(true, 2011011200, 'qtype', 'multichoice');
}
+ // Moodle v2.1.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3  question/type/numerical/db/upgrade.php
@@ -223,6 +223,9 @@ function xmldb_qtype_numerical_upgrade($oldversion) {
upgrade_plugin_savepoint(true, 2011042602, 'qtype', 'numerical');
}
+ // Moodle v2.1.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3  theme/formal_white/db/upgrade.php
@@ -60,5 +60,8 @@ function xmldb_theme_formal_white_upgrade($oldversion) {
upgrade_plugin_savepoint(true, 2011061301, 'theme', 'formal_white');
}
+ // Moodle v2.1.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
Please sign in to comment.
Something went wrong with that request. Please try again.