summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Baudis <pasky@suse.cz>2007-05-19 01:12:32 +0200
committerJunio C Hamano <junkio@cox.net>2007-05-18 17:12:36 -0700
commit7f79b0173d2464a31fcb69ff33df9821172b2219 (patch)
tree7cf1968bde6b528fd23e4c05de2bbc92b53bfd9d
parent760f0c62ef8980cc46422894791649b010cc480f (diff)
downloadgit-7f79b0173d2464a31fcb69ff33df9821172b2219.tar.gz
gitweb: Remove redundant $searchtype setup
Sorry, this was inadverently introduced by my grep search patch. It causes annoying "redefined" warnings. Signed-off-by: Petr Baudis <pasky@suse.cz> Signed-off-by: Junio C Hamano <junkio@cox.net>
-rwxr-xr-xgitweb/gitweb.perl7
1 files changed, 0 insertions, 7 deletions
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
index 7c136ec0d3..17d8efb29c 100755
--- a/gitweb/gitweb.perl
+++ b/gitweb/gitweb.perl
@@ -408,13 +408,6 @@ if (defined $searchtext) {
$search_regexp = quotemeta $searchtext;
}
-our $searchtype = $cgi->param('st');
-if (defined $searchtype) {
- if ($searchtype =~ m/[^a-z]/) {
- die_error(undef, "Invalid searchtype parameter");
- }
-}
-
# now read PATH_INFO and use it as alternative to parameters
sub evaluate_path_info {
return if defined $project;