From a4e7f360c91236168a903e74ab3669a3f03bc690 Mon Sep 17 00:00:00 2001 From: "bbaetz%student.usyd.edu.au" <> Date: Sat, 21 Dec 2002 07:35:14 +0000 Subject: Bug 180870 - Remove old shadowdb manual replication code r, a=myk --- checksetup.pl | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'checksetup.pl') diff --git a/checksetup.pl b/checksetup.pl index fbe0c0051..18b45dda5 100755 --- a/checksetup.pl +++ b/checksetup.pl @@ -820,7 +820,7 @@ if ($my_create_htaccess) { open HTACCESS, ">.htaccess"; print HTACCESS <<'END'; # don't allow people to retrieve non-cgi executable files or our private data - + deny from all END @@ -1085,7 +1085,7 @@ WriteParams(); # These are the files which need to be marked executable my @executable_files = ('processmail', 'whineatnews.pl', 'collectstats.pl', - 'checksetup.pl', 'syncshadowdb', 'importxml.pl', 'runtests.sh'); + 'checksetup.pl', 'importxml.pl', 'runtests.sh'); # tell me if a file is executable. All CGI files and those in @executable_files # are executable @@ -1648,13 +1648,6 @@ $table{milestones} = sortkey smallint not null, unique (product_id, value)'; -$table{shadowlog} = - 'id int not null auto_increment primary key, - ts timestamp, - reflected tinyint not null, - command mediumtext not null, - index(reflected)'; - # GRM $table{duplicates} = 'dupe_of mediumint(9) not null, @@ -3828,6 +3821,11 @@ if ($sth->rows == 0) { } } +# 2002-11-XX Bug 180870 - remove manual shadowdb replication code +if (TableExists('shadowlog')) { + print "Removing shadowlog table\n"; + $dbh->do("DROP TABLE shadowlog"); +} # # Final checks... -- cgit v1.2.3-24-g4f1b