Commit 8134295c authored by Yadd's avatar Yadd
Browse files

Clean strange hook (probably added for experimental Perl Nginx (#583)

parent 00635610
......@@ -35,7 +35,6 @@ sub error {
foreach ( @{$lang} ) {
if ( __PACKAGE__->can("error_$_") ) {
my $tmp = &{"error_$_"}->[$error];
utf8::encode($tmp) if ( $ENV{FCGI_ROLE} );
return $tmp;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment