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>
Petr Baudis committed
May 19, 2007 at 01:12 UTC
7f79b0173d2464a31fcb69ff33df9821172b2219
1 file changed
-7
gitweb/gitweb.perl
-7
@@ -408,13 +408,6 @@ if (defined $searchtext) {
408
$search_regexp = quotemeta $searchtext;
409
}
410
411
-our $searchtype = $cgi->param('st');
412
-if (defined $searchtype) {
413
- if ($searchtype =~ m/[^a-z]/) {
414
- die_error(undef, "Invalid searchtype parameter");
415
- }
416
-}
417
-
411
# now read PATH_INFO and use it as alternative to parameters
412
sub evaluate_path_info {
413
return if defined $project;