From 9499418eeaa8062277c589016e4fc82f74771028 Mon Sep 17 00:00:00 2001 From: james Date: Fri, 12 Feb 2010 16:48:45 +0000 Subject: [PATCH] Remove config->external award sources from CONFIG Remove award_sources table from database Rename STO->YSO and YSF->YSC --- config/index.php | 2 +- db/db.code.version.txt | 2 +- db/db.update.163.sql | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 db/db.update.163.sql diff --git a/config/index.php b/config/index.php index e285fae7..2d3a9bb2 100644 --- a/config/index.php +++ b/config/index.php @@ -49,7 +49,7 @@ echo " ".theme_icon("judge_registration_questions")."
".i18n("Judge Registration Questions")."
"; echo " ".theme_icon("project_safety_questions")."
".i18n("Project Safety Questions")."
"; echo " ".theme_icon("images")."
".i18n("Images (Fair Logo)")."
"; - echo " ".theme_icon("external_award_sources")."
".i18n("External Award Sources")."
"; + echo " "; echo " \n"; echo "\n"; echo "
"; diff --git a/db/db.code.version.txt b/db/db.code.version.txt index 0234b515..9cc2bc3e 100644 --- a/db/db.code.version.txt +++ b/db/db.code.version.txt @@ -1 +1 @@ -162 +163 diff --git a/db/db.update.163.sql b/db/db.update.163.sql new file mode 100644 index 00000000..f84862b5 --- /dev/null +++ b/db/db.update.163.sql @@ -0,0 +1,4 @@ +DROP TABLE `award_sources`; +UPDATE fairs SET name='Youth Science Ontario', abbrv='YSO' WHERE abbrv='STO'; +UPDATE fairs SET name='Youth Science Canada' WHERE abbrv='YSC'; +