Skip to content

Commit

Permalink
remove deprecated Plack::Middleware import
Browse files Browse the repository at this point in the history
  • Loading branch information
miyagawa committed Jul 26, 2012
1 parent 728a7f8 commit d8e05b3
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions lib/Plack/Middleware.pm
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -6,13 +6,6 @@ use parent qw(Plack::Component);
use Plack::Util; use Plack::Util;
use Plack::Util::Accessor qw( app ); use Plack::Util::Accessor qw( app );


sub import {
my $class = shift;
if (@_) {
Carp::carp("use Plack::Middleware qw(Foo) is deprecated. See perldoc Plack::Builder");
}
}

sub wrap { sub wrap {
my($self, $app, @args) = @_; my($self, $app, @args) = @_;
if (ref $self) { if (ref $self) {
Expand Down

0 comments on commit d8e05b3

Please sign in to comment.