summaryrefslogtreecommitdiffstats
path: root/checksetup.pl
diff options
context:
space:
mode:
authorbbaetz%student.usyd.edu.au <>2002-12-21 08:35:14 +0100
committerbbaetz%student.usyd.edu.au <>2002-12-21 08:35:14 +0100
commita4e7f360c91236168a903e74ab3669a3f03bc690 (patch)
tree4d4c988aff412809ea1a0e0ce5c12380e0906e11 /checksetup.pl
parenta40d927bfd9a9b3012be9e0f85da84aa4dd58344 (diff)
downloadbugzilla-a4e7f360c91236168a903e74ab3669a3f03bc690.tar.gz
bugzilla-a4e7f360c91236168a903e74ab3669a3f03bc690.tar.xz
Bug 180870 - Remove old shadowdb manual replication code
r, a=myk
Diffstat (limited to 'checksetup.pl')
-rwxr-xr-xchecksetup.pl16
1 files changed, 7 insertions, 9 deletions
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
-<FilesMatch ^(.*\.pl|localconfig|processmail|syncshadowdb|runtests.sh)$>
+<FilesMatch ^(.*\.pl|localconfig|processmail|runtests.sh)$>
deny from all
</FilesMatch>
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...