]> git.mjollnir.org Git - moodle.git/commitdiff
Deprecating old "upgrade" files. MDL-7214
authorstronk7 <stronk7>
Thu, 26 Oct 2006 22:46:02 +0000 (22:46 +0000)
committerstronk7 <stronk7>
Thu, 26 Oct 2006 22:46:02 +0000 (22:46 +0000)
Merged from MOODLE_17_STABLE

46 files changed:
backup/db/postgres7.php
blocks/activity_modules/db/postgres7.php
blocks/admin/db/postgres7.php
blocks/calendar_month/db/postgres7.php
blocks/calendar_upcoming/db/postgres7.php
blocks/course_list/db/postgres7.php
blocks/course_summary/db/postgres7.php
blocks/db/postgres7.php
blocks/news_items/db/postgres7.php
blocks/online_users/db/postgres7.php
blocks/participants/db/postgres7.php
blocks/recent_activity/db/postgres7.php
blocks/rss_client/db/postgres7.php
blocks/search/db/postgres7.php
blocks/search_forums/db/postgres7.php
blocks/section_links/db/postgres7.php
blocks/social_activities/db/postgres7.php
enrol/authorize/db/postgres7.php
enrol/paypal/db/postgres7.php
mod/assignment/db/postgres7.php
mod/chat/db/postgres7.php
mod/choice/db/postgres7.php
mod/data/db/postgres7.php
mod/exercise/db/postgres7.php
mod/forum/db/postgres7.php
mod/hotpot/db/postgres7.php
mod/journal/db/postgres7.php
mod/label/db/postgres7.php
mod/lams/db/postgres7.php
mod/lesson/db/postgres7.php
mod/quiz/db/postgres7.php
mod/resource/db/postgres7.php
mod/scorm/db/postgres7.php
mod/survey/db/postgres7.php
mod/wiki/db/postgres7.php
mod/workshop/db/postgres7.php
question/type/calculated/db/postgres7.php
question/type/essay/db/postgres7.php
question/type/match/db/postgres7.php
question/type/multianswer/db/postgres7.php
question/type/multichoice/db/postgres7.php
question/type/numerical/db/postgres7.php
question/type/randomsamatch/db/postgres7.php
question/type/rqp/db/postgres7.php
question/type/shortanswer/db/postgres7.php
question/type/truefalse/db/postgres7.php

index 3afe71539ce2a38340a56e50100f45aae5e4d98b..87fa622507ebc120647ec550751a00f1fa22d2b1 100644 (file)
@@ -1,21 +1,9 @@
 <?php  //$Id$
+
+// THIS FILE IS DEPRECATED!  PLEASE DO NOT MAKE CHANGES TO IT!
 //
-// This file keeps track of upgrades to Moodle's
-// backup/restore utility.
-// 
-// Sometimes, changes between versions involve 
-// alterations to database structures and other 
-// major things that may break installations.  
-//
-// The upgrade function in this file will attempt
-// to perform all the necessary actions to upgrade
-// your older installtion to the current version.
-//
-// If there's something it cannot do itself, it 
-// will tell you what you need to do.
-//
-// Versions are defined by backup_version.php
-//
+// IT IS USED ONLY FOR UPGRADES FROM BEFORE MOODLE 1.7, ALL 
+// LATER CHANGES SHOULD USE upgrade.php IN THIS DIRECTORY.
 
 function backup_upgrade($oldversion=0) {
 
@@ -61,6 +49,8 @@ function backup_upgrade($oldversion=0) {
         table_column('backup_courses', 'nextstarttime', 'nextstarttime', 'integer', '', '', '0');
     }
 
+    //////  DO NOT ADD NEW THINGS HERE!!  USE upgrade.php and the lib/ddllib.php functions.
+
     //Finally, return result
     return $result;
 
index 3b4107cd2431b1036d3fa5222fe86deadb5a7a9d..228bade0d51a8674ae3004fa4ae3c6ca0aec9954 100644 (file)
@@ -1,20 +1,9 @@
 <?PHP  //$Id$
+
+// THIS FILE IS DEPRECATED!  PLEASE DO NOT MAKE CHANGES TO IT!
 //
-// This file keeps track of upgrades to Moodle's
-// blocks system.
-//
-// Sometimes, changes between versions involve
-// alterations to database structures and other
-// major things that may break installations.
-//
-// The upgrade function in this file will attempt
-// to perform all the necessary actions to upgrade
-// your older installtion to the current version.
-//
-// If there's something it cannot do itself, it
-// will tell you what you need to do.
-//
-// Versions are defined by backup_version.php
+// IT IS USED ONLY FOR UPGRADES FROM BEFORE MOODLE 1.7, ALL 
+// LATER CHANGES SHOULD USE upgrade.php IN THIS DIRECTORY.
 //
 // This file is tailored to PostgreSQL
 
@@ -28,6 +17,8 @@ function activity_modules_upgrade($oldversion=0) {
         $result = true; //Nothing to do
     }
 
+    //////  DO NOT ADD NEW THINGS HERE!!  USE upgrade.php and the lib/ddllib.php functions.
+
     //Finally, return result
     return $result;
 }
index 92e410af8d1b3ccba5d60c5ddc95b0d5a6a8920a..bf288a232bac96a6200a3cef75a3300c8b74fccf 100644 (file)
@@ -1,20 +1,9 @@
 <?PHP  //$Id$
+
+// THIS FILE IS DEPRECATED!  PLEASE DO NOT MAKE CHANGES TO IT!
 //
-// This file keeps track of upgrades to Moodle's
-// blocks system.
-//
-// Sometimes, changes between versions involve
-// alterations to database structures and other
-// major things that may break installations.
-//
-// The upgrade function in this file will attempt
-// to perform all the necessary actions to upgrade
-// your older installtion to the current version.
-//
-// If there's something it cannot do itself, it
-// will tell you what you need to do.
-//
-// Versions are defined by backup_version.php
+// IT IS USED ONLY FOR UPGRADES FROM BEFORE MOODLE 1.7, ALL 
+// LATER CHANGES SHOULD USE upgrade.php IN THIS DIRECTORY.
 //
 // This file is tailored to PostgreSQL
 
@@ -28,6 +17,8 @@ function admin_upgrade($oldversion=0) {
         $result = true; //Nothing to do
     }
 
+    //////  DO NOT ADD NEW THINGS HERE!!  USE upgrade.php and the lib/ddllib.php functions.
+
     //Finally, return result
     return $result;
 }
index 0a5aa45591d9b0e4a670db778aabc87425a88ecb..9ba175440209411f9aad7624649267f566b8280e 100644 (file)
@@ -1,20 +1,9 @@
 <?PHP  //$Id$
+
+// THIS FILE IS DEPRECATED!  PLEASE DO NOT MAKE CHANGES TO IT!
 //
-// This file keeps track of upgrades to Moodle's
-// blocks system.
-//
-// Sometimes, changes between versions involve
-// alterations to database structures and other
-// major things that may break installations.
-//
-// The upgrade function in this file will attempt
-// to perform all the necessary actions to upgrade
-// your older installtion to the current version.
-//
-// If there's something it cannot do itself, it
-// will tell you what you need to do.
-//
-// Versions are defined by backup_version.php
+// IT IS USED ONLY FOR UPGRADES FROM BEFORE MOODLE 1.7, ALL 
+// LATER CHANGES SHOULD USE upgrade.php IN THIS DIRECTORY.
 //
 // This file is tailored to PostgreSQL
 
@@ -28,6 +17,8 @@ function calendar_month_upgrade($oldversion=0) {
         $result = true; //Nothing to do
     }
 
+    //////  DO NOT ADD NEW THINGS HERE!!  USE upgrade.php and the lib/ddllib.php functions.
+
     //Finally, return result
     return $result;
 }
index a70546ccc3987e8faf77a3d098c78722a64cb38e..b5cbdeef2cd3c874507a2f41cd17f60cd1cd958f 100644 (file)
@@ -1,20 +1,9 @@
 <?PHP  //$Id$
+
+// THIS FILE IS DEPRECATED!  PLEASE DO NOT MAKE CHANGES TO IT!
 //
-// This file keeps track of upgrades to Moodle's
-// blocks system.
-//
-// Sometimes, changes between versions involve
-// alterations to database structures and other
-// major things that may break installations.
-//
-// The upgrade function in this file will attempt
-// to perform all the necessary actions to upgrade
-// your older installtion to the current version.
-//
-// If there's something it cannot do itself, it
-// will tell you what you need to do.
-//
-// Versions are defined by backup_version.php
+// IT IS USED ONLY FOR UPGRADES FROM BEFORE MOODLE 1.7, ALL 
+// LATER CHANGES SHOULD USE upgrade.php IN THIS DIRECTORY.
 //
 // This file is tailored to PostgreSQL
 
@@ -28,6 +17,8 @@ function calendar_upcoming_upgrade($oldversion=0) {
         $result = true; //Nothing to do
     }
 
+    //////  DO NOT ADD NEW THINGS HERE!!  USE upgrade.php and the lib/ddllib.php functions.
+
     //Finally, return result
     return $result;
 }
index fce4490f74e3b50f6c52ecdc8982084edd53673c..a58d050ced4ee5acf33fe7824974efdcdaf29932 100644 (file)
@@ -1,20 +1,9 @@
 <?PHP  //$Id$
+
+// THIS FILE IS DEPRECATED!  PLEASE DO NOT MAKE CHANGES TO IT!
 //
-// This file keeps track of upgrades to Moodle's
-// blocks system.
-//
-// Sometimes, changes between versions involve
-// alterations to database structures and other
-// major things that may break installations.
-//
-// The upgrade function in this file will attempt
-// to perform all the necessary actions to upgrade
-// your older installtion to the current version.
-//
-// If there's something it cannot do itself, it
-// will tell you what you need to do.
-//
-// Versions are defined by backup_version.php
+// IT IS USED ONLY FOR UPGRADES FROM BEFORE MOODLE 1.7, ALL 
+// LATER CHANGES SHOULD USE upgrade.php IN THIS DIRECTORY.
 //
 // This file is tailored to PostgreSQL
 
@@ -28,6 +17,8 @@ function course_list_upgrade($oldversion=0) {
         $result = true; //Nothing to do
     }
 
+    //////  DO NOT ADD NEW THINGS HERE!!  USE upgrade.php and the lib/ddllib.php functions.
+
     //Finally, return result
     return $result;
 }
index a7a74e43979de1120d55ff69b939a630e7e607c8..972d417128e9ae3c8c00d5774f8ce0bf597de83c 100644 (file)
@@ -1,20 +1,9 @@
 <?PHP  //$Id$
+
+// THIS FILE IS DEPRECATED!  PLEASE DO NOT MAKE CHANGES TO IT!
 //
-// This file keeps track of upgrades to Moodle's
-// blocks system.
-//
-// Sometimes, changes between versions involve
-// alterations to database structures and other
-// major things that may break installations.
-//
-// The upgrade function in this file will attempt
-// to perform all the necessary actions to upgrade
-// your older installtion to the current version.
-//
-// If there's something it cannot do itself, it
-// will tell you what you need to do.
-//
-// Versions are defined by backup_version.php
+// IT IS USED ONLY FOR UPGRADES FROM BEFORE MOODLE 1.7, ALL 
+// LATER CHANGES SHOULD USE upgrade.php IN THIS DIRECTORY.
 //
 // This file is tailored to PostgreSQL
 
@@ -28,6 +17,8 @@ function course_summary_upgrade($oldversion=0) {
         $result = true; //Nothing to do
     }
 
+    //////  DO NOT ADD NEW THINGS HERE!!  USE upgrade.php and the lib/ddllib.php functions.
+
     //Finally, return result
     return $result;
 }
index bbe555ef9aabd0122e650e90ea19044d5bf230f4..6122508413d4050e9c6b472bf6100a39b28fc0db 100644 (file)
@@ -1,20 +1,9 @@
 <?PHP  //$Id$
+
+// THIS FILE IS DEPRECATED!  PLEASE DO NOT MAKE CHANGES TO IT!
 //
-// This file keeps track of upgrades to Moodle's
-// blocks system.
-//
-// Sometimes, changes between versions involve
-// alterations to database structures and other
-// major things that may break installations.
-//
-// The upgrade function in this file will attempt
-// to perform all the necessary actions to upgrade
-// your older installtion to the current version.
-//
-// If there's something it cannot do itself, it
-// will tell you what you need to do.
-//
-// Versions are defined by backup_version.php
+// IT IS USED ONLY FOR UPGRADES FROM BEFORE MOODLE 1.7, ALL 
+// LATER CHANGES SHOULD USE upgrade.php IN THIS DIRECTORY.
 //
 // This file is tailored to PostgreSQL
 
@@ -163,6 +152,8 @@ global $CFG;
         modify_database('','CREATE INDEX prefix_block_pinned_pagetype_idx ON prefix_block_pinned (pagetype);');
     }
 
+    //////  DO NOT ADD NEW THINGS HERE!!  USE upgrade.php and the lib/ddllib.php functions.
+
     //Finally, return result
     return $result;
 }
index f336b081cf72ea94e24a0244d81b06a065b31804..650dc38535244b0e52b68e52393add4669e7f502 100644 (file)
@@ -1,20 +1,9 @@
 <?PHP  //$Id$
+
+// THIS FILE IS DEPRECATED!  PLEASE DO NOT MAKE CHANGES TO IT!
 //
-// This file keeps track of upgrades to Moodle's
-// blocks system.
-//
-// Sometimes, changes between versions involve
-// alterations to database structures and other
-// major things that may break installations.
-//
-// The upgrade function in this file will attempt
-// to perform all the necessary actions to upgrade
-// your older installtion to the current version.
-//
-// If there's something it cannot do itself, it
-// will tell you what you need to do.
-//
-// Versions are defined by backup_version.php
+// IT IS USED ONLY FOR UPGRADES FROM BEFORE MOODLE 1.7, ALL 
+// LATER CHANGES SHOULD USE upgrade.php IN THIS DIRECTORY.
 //
 // This file is tailored to PostgreSQL
 
@@ -28,6 +17,8 @@ function news_items_upgrade($oldversion=0) {
         $result = true; //Nothing to do
     }
 
+    //////  DO NOT ADD NEW THINGS HERE!!  USE upgrade.php and the lib/ddllib.php functions.
+
     //Finally, return result
     return $result;
 }
index aee6bc51e24cd6691b4b6a1f7ff268833d376d10..06b520912d445d33c7ac4bdb232f12e7003ce573 100644 (file)
@@ -1,20 +1,9 @@
 <?PHP  //$Id$
+
+// THIS FILE IS DEPRECATED!  PLEASE DO NOT MAKE CHANGES TO IT!
 //
-// This file keeps track of upgrades to Moodle's
-// blocks system.
-//
-// Sometimes, changes between versions involve
-// alterations to database structures and other
-// major things that may break installations.
-//
-// The upgrade function in this file will attempt
-// to perform all the necessary actions to upgrade
-// your older installtion to the current version.
-//
-// If there's something it cannot do itself, it
-// will tell you what you need to do.
-//
-// Versions are defined by backup_version.php
+// IT IS USED ONLY FOR UPGRADES FROM BEFORE MOODLE 1.7, ALL 
+// LATER CHANGES SHOULD USE upgrade.php IN THIS DIRECTORY.
 //
 // This file is tailored to PostgreSQL
 
@@ -28,6 +17,8 @@ function online_users_upgrade($oldversion=0) {
         $result = true; //Nothing to do
     }
 
+    //////  DO NOT ADD NEW THINGS HERE!!  USE upgrade.php and the lib/ddllib.php functions.
+
     //Finally, return result
     return $result;
 }
index ab8888359f21158619ad0219c6f4b4672fa77cf6..7e297c71083b54cef06674082668ea9cd53ea92d 100644 (file)
@@ -1,20 +1,9 @@
 <?PHP  //$Id$
+
+// THIS FILE IS DEPRECATED!  PLEASE DO NOT MAKE CHANGES TO IT!
 //
-// This file keeps track of upgrades to Moodle's
-// blocks system.
-//
-// Sometimes, changes between versions involve
-// alterations to database structures and other
-// major things that may break installations.
-//
-// The upgrade function in this file will attempt
-// to perform all the necessary actions to upgrade
-// your older installtion to the current version.
-//
-// If there's something it cannot do itself, it
-// will tell you what you need to do.
-//
-// Versions are defined by backup_version.php
+// IT IS USED ONLY FOR UPGRADES FROM BEFORE MOODLE 1.7, ALL 
+// LATER CHANGES SHOULD USE upgrade.php IN THIS DIRECTORY.
 //
 // This file is tailored to PostgreSQL
 
@@ -28,6 +17,8 @@ function participants_upgrade($oldversion=0) {
         $result = true; //Nothing to do
     }
 
+    //////  DO NOT ADD NEW THINGS HERE!!  USE upgrade.php and the lib/ddllib.php functions.
+
     //Finally, return result
     return $result;
 }
index 407ee1e0f001a30e528da5f46db8b94cc4ec84f8..23073cadf2ba53088d5d9db5a648e61b55a74881 100644 (file)
@@ -1,20 +1,9 @@
 <?PHP  //$Id$
+
+// THIS FILE IS DEPRECATED!  PLEASE DO NOT MAKE CHANGES TO IT!
 //
-// This file keeps track of upgrades to Moodle's
-// blocks system.
-//
-// Sometimes, changes between versions involve
-// alterations to database structures and other
-// major things that may break installations.
-//
-// The upgrade function in this file will attempt
-// to perform all the necessary actions to upgrade
-// your older installtion to the current version.
-//
-// If there's something it cannot do itself, it
-// will tell you what you need to do.
-//
-// Versions are defined by backup_version.php
+// IT IS USED ONLY FOR UPGRADES FROM BEFORE MOODLE 1.7, ALL 
+// LATER CHANGES SHOULD USE upgrade.php IN THIS DIRECTORY.
 //
 // This file is tailored to PostgreSQL
 
@@ -28,6 +17,8 @@ function recent_activity_upgrade($oldversion=0) {
         $result = true; //Nothing to do
     }
 
+    //////  DO NOT ADD NEW THINGS HERE!!  USE upgrade.php and the lib/ddllib.php functions.
+
     //Finally, return result
     return $result;
 }
index e4e4b3e9606093956e63f9327ea70397061d1d1a..4204ed8bafe3ab867afeb3ac8acb34859a024e3e 100644 (file)
@@ -1,5 +1,10 @@
 <?php //$Id$
 
+// THIS FILE IS DEPRECATED!  PLEASE DO NOT MAKE CHANGES TO IT!
+//
+// IT IS USED ONLY FOR UPGRADES FROM BEFORE MOODLE 1.7, ALL 
+// LATER CHANGES SHOULD USE upgrade.php IN THIS DIRECTORY.
+
 function rss_client_upgrade($oldversion) {
 /// This function does anything necessary to upgrade 
 /// older versions to match current functionality 
@@ -131,8 +136,10 @@ function rss_client_upgrade($oldversion) {
             }   
         }
     }
-    
+
+    //////  DO NOT ADD NEW THINGS HERE!!  USE upgrade.php and the lib/ddllib.php functions.
+
     return true;
 }
 
-?>
\ No newline at end of file
+?>
index 82a259940d6078eb00d06ebd0d4d97f928c4cb91..d4729fe687feb9246d056326b8c0c776b7178797 100644 (file)
@@ -1,20 +1,9 @@
 <?php
+
+// THIS FILE IS DEPRECATED!  PLEASE DO NOT MAKE CHANGES TO IT!
 //
-// This file keeps track of upgrades to Moodle's
-// blocks system.
-//
-// Sometimes, changes between versions involve
-// alterations to database structures and other
-// major things that may break installations.
-//
-// The upgrade function in this file will attempt
-// to perform all the necessary actions to upgrade
-// your older installtion to the current version.
-//
-// If there's something it cannot do itself, it
-// will tell you what you need to do.
-//
-// Versions are defined by backup_version.php
+// IT IS USED ONLY FOR UPGRADES FROM BEFORE MOODLE 1.7, ALL 
+// LATER CHANGES SHOULD USE upgrade.php IN THIS DIRECTORY.
 //
 // This file is tailored to pgsql
 
@@ -28,6 +17,8 @@ function search_upgrade($oldversion=0) {
         $result = true; //Nothing to do
     }
 
+    //////  DO NOT ADD NEW THINGS HERE!!  USE upgrade.php and the lib/ddllib.php functions.
+
     //Finally, return result
     return $result;
 }
index 82ad0877ea6b3ac3366a2553e6a612ca7602f1e6..d213fbdafceae73625a262434617cc40d63cfb36 100644 (file)
@@ -1,20 +1,9 @@
 <?PHP  //$Id$
+
+// THIS FILE IS DEPRECATED!  PLEASE DO NOT MAKE CHANGES TO IT!
 //
-// This file keeps track of upgrades to Moodle's
-// blocks system.
-//
-// Sometimes, changes between versions involve
-// alterations to database structures and other
-// major things that may break installations.
-//
-// The upgrade function in this file will attempt
-// to perform all the necessary actions to upgrade
-// your older installtion to the current version.
-//
-// If there's something it cannot do itself, it
-// will tell you what you need to do.
-//
-// Versions are defined by backup_version.php
+// IT IS USED ONLY FOR UPGRADES FROM BEFORE MOODLE 1.7, ALL 
+// LATER CHANGES SHOULD USE upgrade.php IN THIS DIRECTORY.
 //
 // This file is tailored to PostgreSQL
 
@@ -28,6 +17,8 @@ function search_forums_upgrade($oldversion=0) {
         $result = true; //Nothing to do
     }
 
+    //////  DO NOT ADD NEW THINGS HERE!!  USE upgrade.php and the lib/ddllib.php functions.
+
     //Finally, return result
     return $result;
 }
index e391b81c68801687cc20ff3ef0fa142dfe170e44..24669980cde2233110cbc8bf497b8a56a1c331e9 100644 (file)
@@ -1,20 +1,9 @@
 <?PHP  //$Id$
+
+// THIS FILE IS DEPRECATED!  PLEASE DO NOT MAKE CHANGES TO IT!
 //
-// This file keeps track of upgrades to Moodle's
-// blocks system.
-//
-// Sometimes, changes between versions involve
-// alterations to database structures and other
-// major things that may break installations.
-//
-// The upgrade function in this file will attempt
-// to perform all the necessary actions to upgrade
-// your older installtion to the current version.
-//
-// If there's something it cannot do itself, it
-// will tell you what you need to do.
-//
-// Versions are defined by backup_version.php
+// IT IS USED ONLY FOR UPGRADES FROM BEFORE MOODLE 1.7, ALL 
+// LATER CHANGES SHOULD USE upgrade.php IN THIS DIRECTORY.
 //
 // This file is tailored to PostgreSQL
 
@@ -28,6 +17,8 @@ function section_links_upgrade($oldversion=0) {
         $result = true; //Nothing to do
     }
 
+    //////  DO NOT ADD NEW THINGS HERE!!  USE upgrade.php and the lib/ddllib.php functions.
+
     //Finally, return result
     return $result;
 }
index 01849d0c312b6023693fe60166328f9b28b8a1eb..54aca776b9b0ef87384b72f0de542c2cbfd3416b 100644 (file)
@@ -1,20 +1,9 @@
 <?PHP  //$Id$
+
+// THIS FILE IS DEPRECATED!  PLEASE DO NOT MAKE CHANGES TO IT!
 //
-// This file keeps track of upgrades to Moodle's
-// blocks system.
-//
-// Sometimes, changes between versions involve
-// alterations to database structures and other
-// major things that may break installations.
-//
-// The upgrade function in this file will attempt
-// to perform all the necessary actions to upgrade
-// your older installtion to the current version.
-//
-// If there's something it cannot do itself, it
-// will tell you what you need to do.
-//
-// Versions are defined by backup_version.php
+// IT IS USED ONLY FOR UPGRADES FROM BEFORE MOODLE 1.7, ALL 
+// LATER CHANGES SHOULD USE upgrade.php IN THIS DIRECTORY.
 //
 // This file is tailored to PostgreSQL
 
@@ -28,6 +17,8 @@ function social_activities_upgrade($oldversion=0) {
         $result = true; //Nothing to do
     }
 
+    //////  DO NOT ADD NEW THINGS HERE!!  USE upgrade.php and the lib/ddllib.php functions.
+
     //Finally, return result
     return $result;
 }
index 107e1d2063ddf78ac6883272dbd8eb84a7221baa..5dfd62c274f0d006d2f47be3e034149ad4fe6adf 100644 (file)
@@ -1,5 +1,10 @@
 <?php //$Id$
 
+// THIS FILE IS DEPRECATED!  PLEASE DO NOT MAKE CHANGES TO IT!
+//
+// IT IS USED ONLY FOR UPGRADES FROM BEFORE MOODLE 1.7, ALL 
+// LATER CHANGES SHOULD USE upgrade.php IN THIS DIRECTORY.
+
 // PostgreSQL commands for upgrading this enrolment module
 
 function enrol_authorize_upgrade($oldversion=0) {
@@ -144,6 +149,8 @@ function enrol_authorize_upgrade($oldversion=0) {
         execute_sql("ALTER TABLE {$CFG->prefix}enrol_authorize ADD CONSTRAINT enroauth_pay_ck CHECK (paymentmethod IN ('cc', 'echeck'))", true);
     }
 
+    //////  DO NOT ADD NEW THINGS HERE!!  USE upgrade.php and the lib/ddllib.php functions.
+
     return $result;
 }
 
index 132a8fac9ccfd160a2010bd65baf47c010e4c4e7..35768f70e50b82a87ce08f41144ad9145f2b5afd 100644 (file)
@@ -1,5 +1,10 @@
 <?PHP  //$Id$
 
+// THIS FILE IS DEPRECATED!  PLEASE DO NOT MAKE CHANGES TO IT!
+//
+// IT IS USED ONLY FOR UPGRADES FROM BEFORE MOODLE 1.7, ALL 
+// LATER CHANGES SHOULD USE upgrade.php IN THIS DIRECTORY.
+
 // PostgreSQL commands for upgrading this enrolment module
 
 function enrol_paypal_upgrade($oldversion=0) {
@@ -8,6 +13,8 @@ function enrol_paypal_upgrade($oldversion=0) {
 
     $result = true;
 
+    //////  DO NOT ADD NEW THINGS HERE!!  USE upgrade.php and the lib/ddllib.php functions.
+
     return $result;
 
 }
index 3734058279554914701d932a4c3d10ec8845f9b7..e16e9068a5e453399e5437b20f1ff32a707dc7d4 100644 (file)
@@ -1,5 +1,10 @@
 <?php // $Id$
 
+// THIS FILE IS DEPRECATED!  PLEASE DO NOT MAKE CHANGES TO IT!
+//
+// IT IS USED ONLY FOR UPGRADES FROM BEFORE MOODLE 1.7, ALL 
+// LATER CHANGES SHOULD USE upgrade.php IN THIS DIRECTORY.
+
 function assignment_upgrade($oldversion) {
 // This function does anything necessary to upgrade
 // older versions to match current functionality
@@ -175,6 +180,8 @@ function assignment_upgrade($oldversion) {
     include_once("$CFG->dirroot/mod/assignment/lib.php");
     assignment_upgrade_submodules();
 
+    //////  DO NOT ADD NEW THINGS HERE!!  USE upgrade.php and the lib/ddllib.php functions.
+
     return true;
 }
 
index 5dbab31c547d42c839d022e1a689d758e99d37e5..f3b6f0a27e7fa06bf92676168253b7961437fc5a 100644 (file)
@@ -1,5 +1,10 @@
 <?php // $Id$
 
+// THIS FILE IS DEPRECATED!  PLEASE DO NOT MAKE CHANGES TO IT!
+//
+// IT IS USED ONLY FOR UPGRADES FROM BEFORE MOODLE 1.7, ALL 
+// LATER CHANGES SHOULD USE upgrade.php IN THIS DIRECTORY.
+
 function chat_upgrade($oldversion) {
 // This function does anything necessary to upgrade
 // older versions to match current functionality
@@ -52,6 +57,8 @@ function chat_upgrade($oldversion) {
         modify_database('','ALTER TABLE prefix_chat_users ALTER lang SET NOT NULL');
     }
 
+    //////  DO NOT ADD NEW THINGS HERE!!  USE upgrade.php and the lib/ddllib.php functions.
+
     return true;
 }
 
index 7e71c2e53bbf87dd9fe34e2bb537eec285d66a50..3e124d3df3575456fdc01d24631ba346cea225a9 100644 (file)
@@ -1,5 +1,10 @@
 <?php // $Id$
 
+// THIS FILE IS DEPRECATED!  PLEASE DO NOT MAKE CHANGES TO IT!
+//
+// IT IS USED ONLY FOR UPGRADES FROM BEFORE MOODLE 1.7, ALL 
+// LATER CHANGES SHOULD USE upgrade.php IN THIS DIRECTORY.
+
 function choice_upgrade($oldversion) {
 
     global $CFG;
@@ -102,6 +107,9 @@ function choice_upgrade($oldversion) {
     if ($oldversion < 2006020900) { //rename release column to showanswers - Release is now reserved word in mySql
         table_column('choice', 'release', 'showresults', 'TINYINT', '2', 'unsigned', 0, 'not null');
     }
+
+    //////  DO NOT ADD NEW THINGS HERE!!  USE upgrade.php and the lib/ddllib.php functions.
+
     return true;
 }
 
index 78fe6fb55f888784de3d335889299597d2938250..5c8d2a969d7ebd0f2b563c38926e8f45a11833f9 100644 (file)
@@ -1,5 +1,10 @@
 <?php
 
+// THIS FILE IS DEPRECATED!  PLEASE DO NOT MAKE CHANGES TO IT!
+//
+// IT IS USED ONLY FOR UPGRADES FROM BEFORE MOODLE 1.7, ALL 
+// LATER CHANGES SHOULD USE upgrade.php IN THIS DIRECTORY.
+
 function data_upgrade($oldversion) {
 /// This function does anything necessary to upgrade
 /// older versions to match current functionality
@@ -265,7 +270,9 @@ function data_upgrade($oldversion) {
         execute_sql("ALTER TABLE {$CFG->prefix}data_content ALTER COLUMN content4 DROP NOT NULL");
         execute_sql("ALTER TABLE {$CFG->prefix}data_content ALTER COLUMN content4 DROP DEFAULT");
     }
-    
+
+    //////  DO NOT ADD NEW THINGS HERE!!  USE upgrade.php and the lib/ddllib.php functions.
+
     return true;
 }
 
index adf6d9556e8f9e719129a20bd5d6594704df8d25..d77f49b8cee8af3487a7d6cb75b56ee7ac318f1b 100644 (file)
@@ -1,5 +1,10 @@
 <?php // $Id$
 
+// THIS FILE IS DEPRECATED!  PLEASE DO NOT MAKE CHANGES TO IT!
+//
+// IT IS USED ONLY FOR UPGRADES FROM BEFORE MOODLE 1.7, ALL 
+// LATER CHANGES SHOULD USE upgrade.php IN THIS DIRECTORY.
+
 function exercise_upgrade($oldversion) {
 // This function does anything necessary to upgrade
 // older versions to match current functionality
@@ -43,7 +48,9 @@ function exercise_upgrade($oldversion) {
         modify_database('','CREATE INDEX prefix_exercise_rubrics_exerciseid_idx ON prefix_exercise_rubrics (exerciseid);');
         modify_database('','CREATE INDEX prefix_exercise_grades_exerciseid_idx ON prefix_exercise_grades (exerciseid);');
     }
-        
+
+    //////  DO NOT ADD NEW THINGS HERE!!  USE upgrade.php and the lib/ddllib.php functions.
+
     return true;
 }
 
index 026d0ffaded30bc87b001b333bf135f601d47b56..98c07ee11a2ae1eed4ba699d375db71fec59b479 100644 (file)
@@ -1,5 +1,10 @@
 <?php // $Id$
 
+// THIS FILE IS DEPRECATED!  PLEASE DO NOT MAKE CHANGES TO IT!
+//
+// IT IS USED ONLY FOR UPGRADES FROM BEFORE MOODLE 1.7, ALL 
+// LATER CHANGES SHOULD USE upgrade.php IN THIS DIRECTORY.
+
 function forum_upgrade($oldversion) {
 // This function does anything necessary to upgrade
 // older versions to match current functionality
@@ -232,9 +237,11 @@ function forum_upgrade($oldversion) {
       }
   }
 
+  //////  DO NOT ADD NEW THINGS HERE!!  USE upgrade.php and the lib/ddllib.php functions.
+
   return true;
 
 }
 
 
-?>
\ No newline at end of file
+?>
index 1dd41f921e94e4b420193c1639b13415ada5df06..bda3cf92529b919b5394df7a355b4899fad6c079 100644 (file)
@@ -1,4 +1,10 @@
 <?PHP
+
+// THIS FILE IS DEPRECATED!  PLEASE DO NOT MAKE CHANGES TO IT!
+//
+// IT IS USED ONLY FOR UPGRADES FROM BEFORE MOODLE 1.7, ALL 
+// LATER CHANGES SHOULD USE upgrade.php IN THIS DIRECTORY.
+
 function hotpot_upgrade($oldversion) {
     global $CFG;
     $ok = true;
@@ -59,6 +65,8 @@ function hotpot_upgrade($oldversion) {
         $ok = $ok && hotpot_update_to_v2_2();
     }
 
+    //////  DO NOT ADD NEW THINGS HERE!!  USE upgrade.php and the lib/ddllib.php functions.
+
     return $ok;
 }
 ?>
index ddb2ae43142cfdce446ebc35b73cb66e4ee60800..1fa74e6312fb55ae11e93f1672ba4656272428f6 100644 (file)
@@ -1,5 +1,10 @@
 <?php // $Id$
 
+// THIS FILE IS DEPRECATED!  PLEASE DO NOT MAKE CHANGES TO IT!
+//
+// IT IS USED ONLY FOR UPGRADES FROM BEFORE MOODLE 1.7, ALL 
+// LATER CHANGES SHOULD USE upgrade.php IN THIS DIRECTORY.
+
 function journal_upgrade($oldversion) {
 // This function does anything necessary to upgrade
 // older versions to match current functionality
@@ -56,5 +61,7 @@ function journal_upgrade($oldversion) {
         table_column('journal_entries', 'comment', 'entrycomment', 'text', '', '', '');
     } 
 
+    //////  DO NOT ADD NEW THINGS HERE!!  USE upgrade.php and the lib/ddllib.php functions.
+
     return $result;
 }
index 14882007792f00774a608707e47688f961a83296..91dceabba950b150773df1eb6cd396ad1329010e 100644 (file)
@@ -1,5 +1,10 @@
 <?php
 
+// THIS FILE IS DEPRECATED!  PLEASE DO NOT MAKE CHANGES TO IT!
+//
+// IT IS USED ONLY FOR UPGRADES FROM BEFORE MOODLE 1.7, ALL 
+// LATER CHANGES SHOULD USE upgrade.php IN THIS DIRECTORY.
+
 function label_upgrade($oldversion) {
 
 /// This function does anything necessary to upgrade 
@@ -34,6 +39,8 @@ function label_upgrade($oldversion) {
         modify_database('','CREATE INDEX prefix_label_course_idx ON prefix_label (course);');
     }
 
+    //////  DO NOT ADD NEW THINGS HERE!!  USE upgrade.php and the lib/ddllib.php functions.
+
     return true;
 
 }
index 1be817d17ac56dd761cf2e826182e7cefd1bcc74..dc0ab50a838e42e3c55362f6ff62a2e860d31c76 100644 (file)
@@ -1,5 +1,10 @@
 <?PHP
 
+// THIS FILE IS DEPRECATED!  PLEASE DO NOT MAKE CHANGES TO IT!
+//
+// IT IS USED ONLY FOR UPGRADES FROM BEFORE MOODLE 1.7, ALL 
+// LATER CHANGES SHOULD USE upgrade.php IN THIS DIRECTORY.
+
 function lams_upgrade($oldversion) {
 /// This function does anything necessary to upgrade 
 /// older versions to match current functionality 
@@ -12,6 +17,8 @@ function lams_upgrade($oldversion) {
 
     }
 
+    //////  DO NOT ADD NEW THINGS HERE!!  USE upgrade.php and the lib/ddllib.php functions.
+
     return true;
 }
 
index 09f3b0880e35d7e9a976909799f28bce30527413..c644e7a70a10d8235ff36bb3567ca26e7f03049c 100644 (file)
@@ -1,5 +1,10 @@
 <?PHP
 
+// THIS FILE IS DEPRECATED!  PLEASE DO NOT MAKE CHANGES TO IT!
+//
+// IT IS USED ONLY FOR UPGRADES FROM BEFORE MOODLE 1.7, ALL 
+// LATER CHANGES SHOULD USE upgrade.php IN THIS DIRECTORY.
+
 function lesson_upgrade($oldversion) {
 /// This function does anything necessary to upgrade 
 /// older versions to match current functionality 
@@ -358,6 +363,8 @@ function lesson_upgrade($oldversion) {
         table_column('lesson_default', '', 'feedback', 'int', '3', 'unsigned', '1', 'not null', 'nextpagedefault'); 
     }
 
+    //////  DO NOT ADD NEW THINGS HERE!!  USE upgrade.php and the lib/ddllib.php functions.
+
    return true;
 }
 
index d5d9d8754d836f0830ae1ed4fb540f88e28f62f8..74436e3e6a91f28c262bff1bbc313b5b8d5c8a05 100644 (file)
@@ -1,5 +1,10 @@
 <?php // $Id$
 
+// THIS FILE IS DEPRECATED!  PLEASE DO NOT MAKE CHANGES TO IT!
+//
+// IT IS USED ONLY FOR UPGRADES FROM BEFORE MOODLE 1.7, ALL 
+// LATER CHANGES SHOULD USE upgrade.php IN THIS DIRECTORY.
+
 function quiz_upgrade($oldversion) {
 // This function does anything necessary to upgrade
 // older versions to match current functionality
@@ -1466,6 +1471,8 @@ function quiz_upgrade($oldversion) {
         $success = $success && table_column('question', 'commentarytext', 'generalfeedback', 'text', '', '', '');
     }
 
+    //////  DO NOT ADD NEW THINGS HERE!!  USE upgrade.php and the lib/ddllib.php functions.
+
     return $success;
 }
 
index 19e0e0154b0f12645c7d0df10c76da842576ec20..1a9ca381e93d50399da50ec615c42c0f13c407bc 100644 (file)
@@ -1,5 +1,10 @@
 <?php // $Id$
 
+// THIS FILE IS DEPRECATED!  PLEASE DO NOT MAKE CHANGES TO IT!
+//
+// IT IS USED ONLY FOR UPGRADES FROM BEFORE MOODLE 1.7, ALL 
+// LATER CHANGES SHOULD USE upgrade.php IN THIS DIRECTORY.
+
 function resource_upgrade($oldversion) {
 // This function does anything necessary to upgrade
 // older versions to match current functionality
@@ -61,6 +66,8 @@ function resource_upgrade($oldversion) {
         $wtm->update( 'resource','alltext','options' );
     }
 
+    //////  DO NOT ADD NEW THINGS HERE!!  USE upgrade.php and the lib/ddllib.php functions.
+
     return true;
 }
 
index a4d9a60a72cae9135662fbcb11e2459530d905a9..9398ad729af07c3b44df2f37fa7def11ebe661eb 100755 (executable)
@@ -1,5 +1,10 @@
 <?php // $Id$
 
+// THIS FILE IS DEPRECATED!  PLEASE DO NOT MAKE CHANGES TO IT!
+//
+// IT IS USED ONLY FOR UPGRADES FROM BEFORE MOODLE 1.7, ALL 
+// LATER CHANGES SHOULD USE upgrade.php IN THIS DIRECTORY.
+
 function scorm_upgrade($oldversion) {
 // This function does anything necessary to upgrade
 // older versions to match current functionality
@@ -249,6 +254,8 @@ function scorm_upgrade($oldversion) {
         execute_sql("INSERT INTO {$CFG->prefix}log_display (module, action, mtable, field) VALUES ('scorm', 'review', 'scorm', 'name');", false);
     }
 
+    //////  DO NOT ADD NEW THINGS HERE!!  USE upgrade.php and the lib/ddllib.php functions.
+
     return true;
 }
 ?>
index eea3fc3e109ad169beea57d9594d233a345bb105..c700f50df157b6572939a29e2114ea2ac5ce619c 100644 (file)
@@ -1,5 +1,10 @@
 <?php // $Id$
 
+// THIS FILE IS DEPRECATED!  PLEASE DO NOT MAKE CHANGES TO IT!
+//
+// IT IS USED ONLY FOR UPGRADES FROM BEFORE MOODLE 1.7, ALL 
+// LATER CHANGES SHOULD USE upgrade.php IN THIS DIRECTORY.
+
 function survey_upgrade($oldversion) {
 // This function does anything necessary to upgrade
 // older versions to match current functionality
@@ -44,6 +49,9 @@ function survey_upgrade($oldversion) {
         execute_sql('SELECT setval(\''.$CFG->prefix.'survey_id_seq\', (select max(id) from '.$CFG->prefix.'survey))');
         execute_sql('SELECT setval(\''.$CFG->prefix.'survey_questions_id_seq\', (select max(id) from '.$CFG->prefix.'survey_questions))');
     }
+
+    //////  DO NOT ADD NEW THINGS HERE!!  USE upgrade.php and the lib/ddllib.php functions.
+
     return true;
 }
 
index b0ca05be881da6b27ec4602365972520e5415be1..babb6edac8ec8ad0cbca0faba5a71057cd92f029 100644 (file)
@@ -1,5 +1,10 @@
 <?PHP
 
+// THIS FILE IS DEPRECATED!  PLEASE DO NOT MAKE CHANGES TO IT!
+//
+// IT IS USED ONLY FOR UPGRADES FROM BEFORE MOODLE 1.7, ALL 
+// LATER CHANGES SHOULD USE upgrade.php IN THIS DIRECTORY.
+
 function wiki_upgrade($oldversion) {
 /// This function does anything necessary to upgrade 
 /// older versions to match current functionality 
@@ -196,6 +201,8 @@ CREATE TABLE prefix_wiki_locks
 
     }
 
+    //////  DO NOT ADD NEW THINGS HERE!!  USE upgrade.php and the lib/ddllib.php functions.
+
     return true;
 }
 
index 3aa26808f8c0a36a18bb1199e9de9596f63157c8..a6372f5528fc9ff9bc020f6648d04103ad343400 100644 (file)
@@ -1,5 +1,10 @@
 <?php // $Id$
 
+// THIS FILE IS DEPRECATED!  PLEASE DO NOT MAKE CHANGES TO IT!
+//
+// IT IS USED ONLY FOR UPGRADES FROM BEFORE MOODLE 1.7, ALL 
+// LATER CHANGES SHOULD USE upgrade.php IN THIS DIRECTORY.
+
 function workshop_upgrade($oldversion) {
 // This function does anything necessary to upgrade
 // older versions to match current functionality
@@ -245,6 +250,8 @@ function workshop_upgrade($oldversion) {
         }
     }
 
+    //////  DO NOT ADD NEW THINGS HERE!!  USE upgrade.php and the lib/ddllib.php functions.
+
     return true;
 
 }
index cd7049901cd589cdaa1ae966bf3446cc4e50aa74..cef79b084b9cf579dddd6638373f878d303e04c6 100644 (file)
@@ -1,10 +1,17 @@
 <?php  //$Id$
 
+// THIS FILE IS DEPRECATED!  PLEASE DO NOT MAKE CHANGES TO IT!
+//
+// IT IS USED ONLY FOR UPGRADES FROM BEFORE MOODLE 1.7, ALL 
+// LATER CHANGES SHOULD USE upgrade.php IN THIS DIRECTORY.
+
 // PostgreSQL commands for upgrading this question type
 
 function qtype_calculated_upgrade($oldversion=0) {
     global $CFG;
 
+    //////  DO NOT ADD NEW THINGS HERE!!  USE upgrade.php and the lib/ddllib.php functions.
+
     return true;
 }
 
index 331ae0093bb209272de1024ba35bd883599da953..c9565cf4c7fd55a6d3810f674460e82c9e10249a 100644 (file)
@@ -1,10 +1,17 @@
 <?php  //$Id$
 
+// THIS FILE IS DEPRECATED!  PLEASE DO NOT MAKE CHANGES TO IT!
+//
+// IT IS USED ONLY FOR UPGRADES FROM BEFORE MOODLE 1.7, ALL 
+// LATER CHANGES SHOULD USE upgrade.php IN THIS DIRECTORY.
+
 // PostgreSQL commands for upgrading this question type
 
 function qtype_essay_upgrade($oldversion=0) {
     global $CFG;
 
+    //////  DO NOT ADD NEW THINGS HERE!!  USE upgrade.php and the lib/ddllib.php functions.
+
     return true;
 }
 
index 1599878e36c5690a4d776223cf0fe572e37f88ad..060a5dce1fd39f7024f2acf5d0d932a28298742e 100644 (file)
@@ -1,10 +1,17 @@
 <?php  //$Id$
 
+// THIS FILE IS DEPRECATED!  PLEASE DO NOT MAKE CHANGES TO IT!
+//
+// IT IS USED ONLY FOR UPGRADES FROM BEFORE MOODLE 1.7, ALL 
+// LATER CHANGES SHOULD USE upgrade.php IN THIS DIRECTORY.
+
 // PostgreSQL commands for upgrading this question type
 
 function qtype_match_upgrade($oldversion=0) {
     global $CFG;
 
+    //////  DO NOT ADD NEW THINGS HERE!!  USE upgrade.php and the lib/ddllib.php functions.
+
     return true;
 }
 
index 59a5534dd2aa58c5e03d7ea153b35160aefc1ffd..f146c689725ab1dbb27c53257c4cebcd2506c0df 100644 (file)
@@ -1,10 +1,17 @@
 <?php  //$Id$
 
+// THIS FILE IS DEPRECATED!  PLEASE DO NOT MAKE CHANGES TO IT!
+//
+// IT IS USED ONLY FOR UPGRADES FROM BEFORE MOODLE 1.7, ALL 
+// LATER CHANGES SHOULD USE upgrade.php IN THIS DIRECTORY.
+
 // PostgreSQL commands for upgrading this question type
 
 function qtype_multianswer_upgrade($oldversion=0) {
     global $CFG;
 
+    //////  DO NOT ADD NEW THINGS HERE!!  USE upgrade.php and the lib/ddllib.php functions.
+
     return true;
 }
 
index 2c11f2cffec24234bd8b31d8d63fd191f35c88c1..8723be495675fc3bc7970bbd6d259b2155833f0a 100644 (file)
@@ -1,5 +1,10 @@
 <?php  //$Id$
 
+// THIS FILE IS DEPRECATED!  PLEASE DO NOT MAKE CHANGES TO IT!
+//
+// IT IS USED ONLY FOR UPGRADES FROM BEFORE MOODLE 1.7, ALL 
+// LATER CHANGES SHOULD USE upgrade.php IN THIS DIRECTORY.
+
 // PostgreSQL commands for upgrading this question type
 
 function qtype_multichoice_upgrade($oldversion=0) {
@@ -11,7 +16,9 @@ function qtype_multichoice_upgrade($oldversion=0) {
         $success = $success && table_column('question_multichoice', '', 'partiallycorrectfeedback', 'text', '', '', '');
         $success = $success && table_column('question_multichoice', '', 'incorrectfeedback', 'text', '', '', '');
     }
-    
+
+    //////  DO NOT ADD NEW THINGS HERE!!  USE upgrade.php and the lib/ddllib.php functions.
+
     return $success;
 }
 
index 7be7fbed8d762c2f676884b2691e18bb8c50a76c..e1ac07c5bfa49a1ad3b3b44cddcbc22fe0e88a22 100644 (file)
@@ -1,10 +1,17 @@
 <?php  //$Id$
 
+// THIS FILE IS DEPRECATED!  PLEASE DO NOT MAKE CHANGES TO IT!
+//
+// IT IS USED ONLY FOR UPGRADES FROM BEFORE MOODLE 1.7, ALL 
+// LATER CHANGES SHOULD USE upgrade.php IN THIS DIRECTORY.
+
 // PostgreSQL commands for upgrading this question type
 
 function qtype_numerical_upgrade($oldversion=0) {
     global $CFG;
 
+    //////  DO NOT ADD NEW THINGS HERE!!  USE upgrade.php and the lib/ddllib.php functions.
+
     return true;
 }
 
index 734594fcc1a81a540954961db89e19dc7adace25..339d50050aeb773d485f4944fbf5c380ec99aa4c 100644 (file)
@@ -1,5 +1,10 @@
 <?php  //$Id$
 
+// THIS FILE IS DEPRECATED!  PLEASE DO NOT MAKE CHANGES TO IT!
+//
+// IT IS USED ONLY FOR UPGRADES FROM BEFORE MOODLE 1.7, ALL 
+// LATER CHANGES SHOULD USE upgrade.php IN THIS DIRECTORY.
+
 // PostgreSQL commands for upgrading this question type
 
 function qtype_randomsamatch_upgrade($oldversion=0) {
@@ -10,6 +15,8 @@ function qtype_randomsamatch_upgrade($oldversion=0) {
         modify_database('', 'ALTER TABLE prefix_question_randomsamatch DROP shuffleanswers');
     }
 
+    //////  DO NOT ADD NEW THINGS HERE!!  USE upgrade.php and the lib/ddllib.php functions.
+
     return true;
 }
 
index bac7a523493f6202fc12b61c34b47d354b131d35..23ea199bc5e403d23ba44a87e9a0d0b8e7dccd7e 100644 (file)
@@ -1,10 +1,17 @@
 <?php  //$Id$
 
+// THIS FILE IS DEPRECATED!  PLEASE DO NOT MAKE CHANGES TO IT!
+//
+// IT IS USED ONLY FOR UPGRADES FROM BEFORE MOODLE 1.7, ALL 
+// LATER CHANGES SHOULD USE upgrade.php IN THIS DIRECTORY.
+
 // PostgreSQL commands for upgrading this question type
 
 function qtype_rqp_upgrade($oldversion=0) {
     global $CFG;
 
+    //////  DO NOT ADD NEW THINGS HERE!!  USE upgrade.php and the lib/ddllib.php functions.
+
     return true;
 }
 
index e6096355a5e199bf6bf4b4bf189c41c33150533b..3c43e19e1ba94b556972a7069c54a55a234bb557 100644 (file)
@@ -1,10 +1,17 @@
 <?php  //$Id$
 
+// THIS FILE IS DEPRECATED!  PLEASE DO NOT MAKE CHANGES TO IT!
+//
+// IT IS USED ONLY FOR UPGRADES FROM BEFORE MOODLE 1.7, ALL 
+// LATER CHANGES SHOULD USE upgrade.php IN THIS DIRECTORY.
+
 // PostgreSQL commands for upgrading this question type
 
 function qtype_shortanswer_upgrade($oldversion=0) {
     global $CFG;
 
+    //////  DO NOT ADD NEW THINGS HERE!!  USE upgrade.php and the lib/ddllib.php functions.
+
     return true;
 }
 
index 18d585d73240fee58db577e18713cf0f93d7e68e..07e5810320cc7065cb2c952525b05332f2660d4e 100644 (file)
@@ -1,10 +1,17 @@
 <?php  //$Id$
 
+// THIS FILE IS DEPRECATED!  PLEASE DO NOT MAKE CHANGES TO IT!
+//
+// IT IS USED ONLY FOR UPGRADES FROM BEFORE MOODLE 1.7, ALL 
+// LATER CHANGES SHOULD USE upgrade.php IN THIS DIRECTORY.
+
 // PostgreSQL commands for upgrading this question type
 
 function qtype_truefalse_upgrade($oldversion=0) {
     global $CFG;
 
+    //////  DO NOT ADD NEW THINGS HERE!!  USE upgrade.php and the lib/ddllib.php functions.
+
     return true;
 }