From: stronk7 Date: Thu, 26 Oct 2006 22:39:10 +0000 (+0000) Subject: Deprecating old "upgrade" files. MDL-7214 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=3aac1dc9a0e4767e71639624dfd5b1351d246374;p=moodle.git Deprecating old "upgrade" files. MDL-7214 Merged from MOODLE_17_STABLE --- diff --git a/backup/db/mysql.php b/backup/db/mysql.php index e49ccb6c2c..af93afa8a6 100644 --- a/backup/db/mysql.php +++ b/backup/db/mysql.php @@ -1,20 +1,9 @@ \ No newline at end of file +?> diff --git a/blocks/search/db/mysql.php b/blocks/search/db/mysql.php index cbbe8f6290..9914857349 100644 --- a/blocks/search/db/mysql.php +++ b/blocks/search/db/mysql.php @@ -1,20 +1,9 @@ prefix}enrol_authorize` ADD paymentmethod enum('cc', 'echeck') NOT NULL default 'cc' AFTER `id`", true); } + ////// DO NOT ADD NEW THINGS HERE!! USE upgrade.php and the lib/ddllib.php functions. + return $result; } diff --git a/enrol/paypal/db/mysql.php b/enrol/paypal/db/mysql.php index 9f6abc5db9..7a926a081c 100644 --- a/enrol/paypal/db/mysql.php +++ b/enrol/paypal/db/mysql.php @@ -1,5 +1,10 @@ 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; } diff --git a/mod/chat/db/mysql.php b/mod/chat/db/mysql.php index 1a3faa4315..b31f409288 100644 --- a/mod/chat/db/mysql.php +++ b/mod/chat/db/mysql.php @@ -1,5 +1,10 @@ prefix}data_content CHANGE content3 content3 longtext NULL AFTER content2"); execute_sql("ALTER TABLE {$CFG->prefix}data_content CHANGE content4 content4 longtext NULL AFTER content3"); } - + + ////// DO NOT ADD NEW THINGS HERE!! USE upgrade.php and the lib/ddllib.php functions. + return true; } diff --git a/mod/exercise/db/mysql.php b/mod/exercise/db/mysql.php index 20b7aed39c..d2a0f461b5 100644 --- a/mod/exercise/db/mysql.php +++ b/mod/exercise/db/mysql.php @@ -1,5 +1,10 @@ diff --git a/mod/journal/db/mysql.php b/mod/journal/db/mysql.php index caf7cd2767..989c00da13 100644 --- a/mod/journal/db/mysql.php +++ b/mod/journal/db/mysql.php @@ -1,5 +1,10 @@ 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; } ?> diff --git a/mod/survey/db/mysql.php b/mod/survey/db/mysql.php index 48fecd4270..9518aa4b14 100644 --- a/mod/survey/db/mysql.php +++ b/mod/survey/db/mysql.php @@ -1,5 +1,10 @@