make the upgrade script remove SQLForm files, code, Help, i18n and test. Retire the SQLForm test in the repo

This commit is contained in:
Colin Kuskie 2008-05-30 06:59:56 +00:00
parent 3ae5587b64
commit f41d53aa90
2 changed files with 4 additions and 89 deletions

View file

@ -89,6 +89,10 @@ sub removeSqlForm {
foreach my $table (qw(SQLForm_fieldDefinitions SQLForm SQLForm_fieldTypes SQLForm_regexes)) {
$db->write("drop table $table");
}
unlink '../../lib/WebGUI/Asset/Wobject/SQLForm.pm';
unlink '../../lib/WebGUI/Help/Asset_SQLForm.pm';
unlink '../../lib/WebGUI/i18n/English/Asset_SQLForm.pm';
unlink '../../t/Asset/Wobject/SQLForm.t';
}
else {
print "\t\tThis site uses SQL Form, so we won't uninstall it.\n" unless $quiet;