From 73c8880533b2b52801a7ef0f210f7656639e20da Mon Sep 17 00:00:00 2001 From: Graham Knop Date: Fri, 2 May 2008 16:37:48 +0000 Subject: [PATCH] removed legacy wgFieldUserData table --- docs/changelog/7.x.x.txt | 1 + docs/upgrades/upgrade_7.5.10-7.5.11.pl | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 2404de831..f00b96f57 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -52,6 +52,7 @@ basis - fixed: Thingy Thing Checkbox/Checklist/Selectbox/Selectlist limitations - fixed: Thingy: Problem with delete Thing permissions + - removed legacy wgFieldUserData table 7.5.10 diff --git a/docs/upgrades/upgrade_7.5.10-7.5.11.pl b/docs/upgrades/upgrade_7.5.10-7.5.11.pl index 9ad1331f2..c5311878c 100644 --- a/docs/upgrades/upgrade_7.5.10-7.5.11.pl +++ b/docs/upgrades/upgrade_7.5.10-7.5.11.pl @@ -50,6 +50,7 @@ addShelf( $session ); addCoupon( $session ); addVendors($session); modifyThingyPossibleValues( $session ); +removeLegacyTable($session); finish($session); # this line required @@ -694,6 +695,14 @@ sub modifyThingyPossibleValues { $session->db->write("alter table Thingy_fields modify possibleValues text"); } +#------------------------------------------------- +sub removeLegacyTable { + my $session = shift; + print "\tRemoving legacy field table..." unless ($quiet); + $session->db->write("DROP TABLE `wgFieldUserData`"); + print "Done.\n" unless $quiet; +} + # -------------- DO NOT EDIT BELOW THIS LINE -------------------------------- #----------------------------------------------------------------------------