Skip to content
Browse files

MDL-30604 Added upgrade lines to upgrade.php(s)

  • Loading branch information...
1 parent db48cf0 commit bc3801cb9cdd6980a539cc180aa285ad96470471 @nebgor nebgor committed with stronk7 Dec 8, 2011
Showing with 159 additions and 1 deletion.
  1. +2 −1 admin/tool/customlang/db/upgrade.php
  2. +3 −0 auth/manual/db/upgrade.php
  3. +3 −0 auth/mnet/db/upgrade.php
  4. +3 −0 blocks/community/db/upgrade.php
  5. +3 −0 blocks/html/db/upgrade.php
  6. +3 −0 blocks/navigation/db/upgrade.php
  7. +3 −0 blocks/settings/db/upgrade.php
  8. +3 −0 enrol/authorize/db/upgrade.php
  9. +3 −0 enrol/database/db/upgrade.php
  10. +3 −0 enrol/imsenterprise/db/upgrade.php
  11. +3 −0 enrol/mnet/db/upgrade.php
  12. +3 −0 enrol/paypal/db/upgrade.php
  13. +3 −0 filter/mediaplugin/db/upgrade.php
  14. +3 −0 filter/tex/db/upgrade.php
  15. +3 −0 grade/grading/form/rubric/db/upgrade.php
  16. +3 −0 lib/db/upgrade.php
  17. +3 −0 message/output/email/db/upgrade.php
  18. +3 −0 message/output/jabber/db/upgrade.php
  19. +3 −0 message/output/popup/db/upgrade.php
  20. +3 −0 mod/assignment/db/upgrade.php
  21. +3 −0 mod/chat/db/upgrade.php
  22. +3 −0 mod/choice/db/upgrade.php
  23. +3 −0 mod/data/db/upgrade.php
  24. +3 −0 mod/feedback/db/upgrade.php
  25. +3 −0 mod/folder/db/upgrade.php
  26. +3 −0 mod/forum/db/upgrade.php
  27. +3 −0 mod/glossary/db/upgrade.php
  28. +3 −0 mod/imscp/db/upgrade.php
  29. +3 −0 mod/label/db/upgrade.php
  30. +3 −0 mod/lesson/db/upgrade.php
  31. +3 −0 mod/lti/db/upgrade.php
  32. +3 −0 mod/page/db/upgrade.php
  33. +3 −0 mod/quiz/db/upgrade.php
  34. +3 −0 mod/quiz/report/overview/db/upgrade.php
  35. +3 −0 mod/quiz/report/statistics/db/upgrade.php
  36. +3 −0 mod/resource/db/upgrade.php
  37. +3 −0 mod/scorm/db/upgrade.php
  38. +3 −0 mod/survey/db/upgrade.php
  39. +3 −0 mod/url/db/upgrade.php
  40. +3 −0 mod/wiki/db/upgrade.php
  41. +3 −0 mod/workshop/db/upgrade.php
  42. +3 −0 mod/workshop/form/accumulative/db/upgrade.php
  43. +3 −0 mod/workshop/form/comments/db/upgrade.php
  44. +3 −0 mod/workshop/form/numerrors/db/upgrade.php
  45. +3 −0 mod/workshop/form/rubric/db/upgrade.php
  46. +3 −0 question/type/calculated/db/upgrade.php
  47. +3 −0 question/type/essay/db/upgrade.php
  48. +3 −0 question/type/match/db/upgrade.php
  49. +3 −0 question/type/multianswer/db/upgrade.php
  50. +3 −0 question/type/multichoice/db/upgrade.php
  51. +3 −0 question/type/numerical/db/upgrade.php
  52. +4 −0 question/upgrade.php
  53. +3 −0 theme/formal_white/db/upgrade.php
View
3 admin/tool/customlang/db/upgrade.php
@@ -29,7 +29,8 @@ function xmldb_tool_customlang_upgrade($oldversion) {
$dbman = $DB->get_manager();
-
+ // Moodle v2.2.0 release upgrade line
+ // Put any upgrade step following this
return true;
}
View
3 auth/manual/db/upgrade.php
@@ -48,5 +48,8 @@ function xmldb_auth_manual_upgrade($oldversion) {
// Moodle v2.1.0 release upgrade line
// Put any upgrade step following this
+ // Moodle v2.2.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3 auth/mnet/db/upgrade.php
@@ -46,5 +46,8 @@ function xmldb_auth_mnet_upgrade($oldversion) {
// Moodle v2.1.0 release upgrade line
// Put any upgrade step following this
+ // Moodle v2.2.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3 blocks/community/db/upgrade.php
@@ -76,5 +76,8 @@ function xmldb_block_community_upgrade($oldversion) {
// Moodle v2.1.0 release upgrade line
// Put any upgrade step following this
+ // Moodle v2.2.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3 blocks/html/db/upgrade.php
@@ -66,5 +66,8 @@ function xmldb_block_html_upgrade($oldversion) {
// Moodle v2.1.0 release upgrade line
// Put any upgrade step following this
+ // Moodle v2.2.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3 blocks/navigation/db/upgrade.php
@@ -75,5 +75,8 @@ function xmldb_block_navigation_upgrade($oldversion, $block) {
// Moodle v2.1.0 release upgrade line
// Put any upgrade step following this
+ // Moodle v2.2.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3 blocks/settings/db/upgrade.php
@@ -75,5 +75,8 @@ function xmldb_block_settings_upgrade($oldversion, $block) {
// Moodle v2.1.0 release upgrade line
// Put any upgrade step following this
+ // Moodle v2.2.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3 enrol/authorize/db/upgrade.php
@@ -96,5 +96,8 @@ function xmldb_enrol_authorize_upgrade($oldversion) {
// Moodle v2.1.0 release upgrade line
// Put any upgrade step following this
+ // Moodle v2.2.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3 enrol/database/db/upgrade.php
@@ -39,5 +39,8 @@ function xmldb_enrol_database_upgrade($oldversion) {
}
+ // Moodle v2.2.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3 enrol/imsenterprise/db/upgrade.php
@@ -83,6 +83,9 @@ function xmldb_enrol_imsenterprise_upgrade($oldversion) {
// Moodle v2.1.0 release upgrade line
// Put any upgrade step following this
+ // Moodle v2.2.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3 enrol/mnet/db/upgrade.php
@@ -39,5 +39,8 @@ function xmldb_enrol_mnet_upgrade($oldversion) {
// Moodle v2.1.0 release upgrade line
// Put any upgrade step following this
+ // Moodle v2.2.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3 enrol/paypal/db/upgrade.php
@@ -62,5 +62,8 @@ function xmldb_enrol_paypal_upgrade($oldversion) {
// Moodle v2.1.0 release upgrade line
// Put any upgrade step following this
+ // Moodle v2.2.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3 filter/mediaplugin/db/upgrade.php
@@ -46,5 +46,8 @@ function xmldb_filter_mediaplugin_upgrade($oldversion) {
// Moodle v2.1.0 release upgrade line
// Put any upgrade step following this
+ // Moodle v2.2.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3 filter/tex/db/upgrade.php
@@ -41,5 +41,8 @@ function xmldb_filter_tex_upgrade($oldversion) {
// Moodle v2.1.0 release upgrade line
// Put any upgrade step following this
+ // Moodle v2.2.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3 grade/grading/form/rubric/db/upgrade.php
@@ -35,5 +35,8 @@ function xmldb_gradingform_rubric_upgrade($oldversion) {
$dbman = $DB->get_manager();
+ // Moodle v2.2.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3 lib/db/upgrade.php
@@ -6948,6 +6948,9 @@ function xmldb_main_upgrade($oldversion) {
upgrade_main_savepoint(true, 2011111800.01);
}
+ // Moodle v2.2.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3 message/output/email/db/upgrade.php
@@ -50,6 +50,9 @@ function xmldb_message_email_upgrade($oldversion) {
// Moodle v2.1.0 release upgrade line
// Put any upgrade step following this
+ // Moodle v2.2.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3 message/output/jabber/db/upgrade.php
@@ -50,6 +50,9 @@ function xmldb_message_jabber_upgrade($oldversion) {
// Moodle v2.1.0 release upgrade line
// Put any upgrade step following this
+ // Moodle v2.2.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3 message/output/popup/db/upgrade.php
@@ -50,6 +50,9 @@ function xmldb_message_popup_upgrade($oldversion) {
// Moodle v2.1.0 release upgrade line
// Put any upgrade step following this
+ // Moodle v2.2.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3 mod/assignment/db/upgrade.php
@@ -157,6 +157,9 @@ function xmldb_assignment_upgrade($oldversion) {
// Moodle v2.1.0 release upgrade line
// Put any upgrade step following this
+ // Moodle v2.2.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3 mod/chat/db/upgrade.php
@@ -103,6 +103,9 @@ function xmldb_chat_upgrade($oldversion) {
// Moodle v2.1.0 release upgrade line
// Put any upgrade step following this
+ // Moodle v2.2.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3 mod/choice/db/upgrade.php
@@ -71,6 +71,9 @@ function xmldb_choice_upgrade($oldversion) {
// Moodle v2.1.0 release upgrade line
// Put any upgrade step following this
+ // Moodle v2.2.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3 mod/data/db/upgrade.php
@@ -341,6 +341,9 @@ function xmldb_data_upgrade($oldversion) {
// Moodle v2.1.0 release upgrade line
// Put any upgrade step following this
+ // Moodle v2.2.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3 mod/feedback/db/upgrade.php
@@ -364,6 +364,9 @@ function xmldb_feedback_upgrade($oldversion) {
// Moodle v2.1.0 release upgrade line
// Put any upgrade step following this
+ // Moodle v2.2.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3 mod/folder/db/upgrade.php
@@ -54,5 +54,8 @@ function xmldb_folder_upgrade($oldversion) {
// Moodle v2.1.0 release upgrade line
// Put any upgrade step following this
+ // Moodle v2.2.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3 mod/forum/db/upgrade.php
@@ -341,6 +341,9 @@ function xmldb_forum_upgrade($oldversion) {
// Moodle v2.1.0 release upgrade line
// Put any upgrade step following this
+ // Moodle v2.2.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3 mod/glossary/db/upgrade.php
@@ -352,6 +352,9 @@ function xmldb_glossary_upgrade($oldversion) {
// Moodle v2.1.0 release upgrade line
// Put any upgrade step following this
+ // Moodle v2.2.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3 mod/imscp/db/upgrade.php
@@ -34,5 +34,8 @@ function xmldb_imscp_upgrade($oldversion) {
// Moodle v2.1.0 release upgrade line
// Put any upgrade step following this
+ // Moodle v2.2.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3 mod/label/db/upgrade.php
@@ -85,6 +85,9 @@ function xmldb_label_upgrade($oldversion) {
// Moodle v2.1.0 release upgrade line
// Put any upgrade step following this
+ // Moodle v2.2.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3 mod/lesson/db/upgrade.php
@@ -292,6 +292,9 @@ function xmldb_lesson_upgrade($oldversion) {
// Moodle v2.1.0 release upgrade line
// Put any upgrade step following this
+ // Moodle v2.2.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3 mod/lti/db/upgrade.php
@@ -78,6 +78,9 @@ function xmldb_lti_upgrade($oldversion) {
upgrade_mod_savepoint(true, 2011111600, 'lti');
}
+ // Moodle v2.2.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3 mod/page/db/upgrade.php
@@ -55,5 +55,8 @@ function xmldb_page_upgrade($oldversion) {
// Moodle v2.1.0 release upgrade line
// Put any upgrade step following this
+ // Moodle v2.2.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3 mod/quiz/db/upgrade.php
@@ -1193,6 +1193,9 @@ function xmldb_quiz_upgrade($oldversion) {
upgrade_mod_savepoint(true, 2011100604, 'quiz');
}
+ // Moodle v2.2.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3 mod/quiz/report/overview/db/upgrade.php
@@ -226,5 +226,8 @@ function xmldb_quiz_overview_upgrade($oldversion) {
// Moodle v2.1.0 release upgrade line
// Put any upgrade step following this
+ // Moodle v2.2.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3 mod/quiz/report/statistics/db/upgrade.php
@@ -398,6 +398,9 @@ function xmldb_quiz_statistics_upgrade($oldversion) {
// Moodle v2.1.0 release upgrade line
// Put any upgrade step following this
+ // Moodle v2.2.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3 mod/resource/db/upgrade.php
@@ -265,5 +265,8 @@ function xmldb_resource_upgrade($oldversion) {
// Moodle v2.1.0 release upgrade line
// Put any upgrade step following this
+ // Moodle v2.2.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3 mod/scorm/db/upgrade.php
@@ -604,6 +604,9 @@ function xmldb_scorm_upgrade($oldversion) {
upgrade_mod_savepoint(true, 2011110502, 'scorm');
}
+ // Moodle v2.2.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3 mod/survey/db/upgrade.php
@@ -57,6 +57,9 @@ function xmldb_survey_upgrade($oldversion) {
// Moodle v2.1.0 release upgrade line
// Put any upgrade step following this
+ // Moodle v2.2.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3 mod/url/db/upgrade.php
@@ -68,5 +68,8 @@ function xmldb_url_upgrade($oldversion) {
upgrade_mod_savepoint(true, 2011092800, 'url');
}
+ // Moodle v2.2.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3 mod/wiki/db/upgrade.php
@@ -373,5 +373,8 @@ function xmldb_wiki_upgrade($oldversion) {
// Moodle v2.1.0 release upgrade line
// Put any upgrade step following this
+ // Moodle v2.2.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3 mod/workshop/db/upgrade.php
@@ -319,5 +319,8 @@ function xmldb_workshop_upgrade($oldversion) {
upgrade_mod_savepoint(true, 2011110400, 'workshop');
}
+ // Moodle v2.2.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3 mod/workshop/form/accumulative/db/upgrade.php
@@ -52,5 +52,8 @@ function xmldb_workshopform_accumulative_upgrade($oldversion) {
// Moodle v2.1.0 release upgrade line
// Put any upgrade step following this
+ // Moodle v2.2.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3 mod/workshop/form/comments/db/upgrade.php
@@ -52,5 +52,8 @@ function xmldb_workshopform_comments_upgrade($oldversion) {
// Moodle v2.1.0 release upgrade line
// Put any upgrade step following this
+ // Moodle v2.2.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3 mod/workshop/form/numerrors/db/upgrade.php
@@ -62,5 +62,8 @@ function xmldb_workshopform_numerrors_upgrade($oldversion) {
// Moodle v2.1.0 release upgrade line
// Put any upgrade step following this
+ // Moodle v2.2.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3 mod/workshop/form/rubric/db/upgrade.php
@@ -63,5 +63,8 @@ function xmldb_workshopform_rubric_upgrade($oldversion) {
// Moodle v2.1.0 release upgrade line
// Put any upgrade step following this
+ // Moodle v2.2.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3 question/type/calculated/db/upgrade.php
@@ -230,6 +230,9 @@ function xmldb_qtype_calculated_upgrade($oldversion) {
// Moodle v2.1.0 release upgrade line
// Put any upgrade step following this
+ // Moodle v2.2.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3 question/type/essay/db/upgrade.php
@@ -90,5 +90,8 @@ function xmldb_qtype_essay_upgrade($oldversion) {
// Moodle v2.1.0 release upgrade line
// Put any upgrade step following this
+ // Moodle v2.2.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3 question/type/match/db/upgrade.php
@@ -210,5 +210,8 @@ function xmldb_qtype_match_upgrade($oldversion) {
// Moodle v2.1.0 release upgrade line
// Put any upgrade step following this
+ // Moodle v2.2.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3 question/type/multianswer/db/upgrade.php
@@ -59,5 +59,8 @@ function xmldb_qtype_multianswer_upgrade($oldversion) {
// Moodle v2.1.0 release upgrade line
// Put any upgrade step following this
+ // Moodle v2.2.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3 question/type/multichoice/db/upgrade.php
@@ -151,5 +151,8 @@ function xmldb_qtype_multichoice_upgrade($oldversion) {
// Moodle v2.1.0 release upgrade line
// Put any upgrade step following this
+ // Moodle v2.2.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3 question/type/numerical/db/upgrade.php
@@ -237,6 +237,9 @@ function xmldb_qtype_numerical_upgrade($oldversion) {
// Moodle v2.1.0 release upgrade line
// Put any upgrade step following this
+ // Moodle v2.2.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
4 question/upgrade.php
@@ -40,5 +40,9 @@
function question_fix_random_question_parents() {
global $CFG, $DB;
$DB->execute("UPDATE {question} SET parent = id WHERE qtype = 'random' AND parent <> id");
+
+ // Moodle v2.2.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}
View
3 theme/formal_white/db/upgrade.php
@@ -63,5 +63,8 @@ function xmldb_theme_formal_white_upgrade($oldversion) {
// Moodle v2.1.0 release upgrade line
// Put any upgrade step following this
+ // Moodle v2.2.0 release upgrade line
+ // Put any upgrade step following this
+
return true;
}

0 comments on commit bc3801c

Please sign in to comment.
Something went wrong with that request. Please try again.