Permalink
Browse files

remove deprecated Plack::Middleware import

  • Loading branch information...
miyagawa committed Jul 26, 2012
1 parent 728a7f8 commit d8e05b31b4f24a789b8be4cb291cd62db1b26684
Showing with 0 additions and 7 deletions.
  1. +0 −7 lib/Plack/Middleware.pm
View
@@ -6,13 +6,6 @@ use parent qw(Plack::Component);
use Plack::Util;
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 {
my($self, $app, @args) = @_;
if (ref $self) {

0 comments on commit d8e05b3

Please sign in to comment.