fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2011-10-28 09:55 am

[dw-free] Remove spurious line from DW::Request::Apache2

[commit: http://hg.dwscoalition.org/dw-free/rev/92691b2e94a0]

http://bugs.dwscoalition.org/show_bug.cgi?id=3981

Cleanup.

Patch by [personal profile] fu.

Files modified:
  • cgi-bin/DW/Request/Apache2.pm
--------------------------------------------------------------------------------
diff -r a07c8d7dd745 -r 92691b2e94a0 cgi-bin/DW/Request/Apache2.pm
--- a/cgi-bin/DW/Request/Apache2.pm	Fri Oct 28 17:15:08 2011 +0800
+++ b/cgi-bin/DW/Request/Apache2.pm	Fri Oct 28 17:55:38 2011 +0800
@@ -276,12 +276,10 @@
 
 # constants
 sub OK {
-    my DW::Request::Apache2 $self = $_[0];
     return Apache2::Const::OK;
 }
 
 sub HTTP_OK {
-    my DW::Request::Apache2 $self = $_[0];
     return Apache2::Const::HTTP_OK;
 }
 
@@ -290,12 +288,10 @@
 }
 
 sub REDIRECT {
-    my DW::Request::Apache2 $self = $_[0];
     return Apache2::Const::REDIRECT;
 }
 
 sub NOT_FOUND {
-    my DW::Request::Apache2 $self = $_[0];
     return Apache2::Const::NOT_FOUND;
 }
 
--------------------------------------------------------------------------------