Permalink
Browse files

Suppress warnings.

  • Loading branch information...
1 parent 958ec7c commit 4630b6d02df8a6c02345700e463557b48f5f2a1a @aklaswad aklaswad committed Mar 28, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/MT/PSGI.pm
View
@@ -43,6 +43,7 @@ my $mt_app = sub {
# Cheap hack to get the output
my ( $header_sent, $body );
+ no warnings qw(redefine);
local *MT::App::send_http_header = sub {
my $self = shift;
$self->{response_content_type} = $_[0] if $_[0];

0 comments on commit 4630b6d

Please sign in to comment.