Skip to content

Commit 7435902

Browse files
authored
Merge pull request #647 from michal-josef-spacek/master
Remove unused variable
2 parents f2bf055 + 8f2e703 commit 7435902

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Plack/App/Directory.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ sub return_dir_redirect {
5757
}
5858

5959
sub serve_path {
60-
my($self, $env, $dir, $fullpath) = @_;
60+
my($self, $env, $dir) = @_;
6161

6262
if (-f $dir) {
63-
return $self->SUPER::serve_path($env, $dir, $fullpath);
63+
return $self->SUPER::serve_path($env, $dir);
6464
}
6565

6666
my $dir_url = $env->{SCRIPT_NAME} . $env->{PATH_INFO};

0 commit comments

Comments
 (0)