removed legacy wgFieldUserData table

This commit is contained in:
Graham Knop 2008-05-02 16:37:48 +00:00
parent edac2bfd81
commit 73c8880533
2 changed files with 10 additions and 0 deletions

View file

@ -52,6 +52,7 @@
basis basis
- fixed: Thingy Thing Checkbox/Checklist/Selectbox/Selectlist limitations - fixed: Thingy Thing Checkbox/Checklist/Selectbox/Selectlist limitations
- fixed: Thingy: Problem with delete Thing permissions - fixed: Thingy: Problem with delete Thing permissions
- removed legacy wgFieldUserData table
7.5.10 7.5.10

View file

@ -50,6 +50,7 @@ addShelf( $session );
addCoupon( $session ); addCoupon( $session );
addVendors($session); addVendors($session);
modifyThingyPossibleValues( $session ); modifyThingyPossibleValues( $session );
removeLegacyTable($session);
finish($session); # this line required finish($session); # this line required
@ -694,6 +695,14 @@ sub modifyThingyPossibleValues {
$session->db->write("alter table Thingy_fields modify possibleValues text"); $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 -------------------------------- # -------------- DO NOT EDIT BELOW THIS LINE --------------------------------
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------