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>
This commit is contained in:
parent
760f0c62ef
commit
7f79b0173d
@ -408,13 +408,6 @@ if (defined $searchtext) {
|
|||||||
$search_regexp = quotemeta $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
|
# now read PATH_INFO and use it as alternative to parameters
|
||||||
sub evaluate_path_info {
|
sub evaluate_path_info {
|
||||||
return if defined $project;
|
return if defined $project;
|
||||||
|
Loading…
Reference in New Issue
Block a user