wisest owl (wisest_owl) wrote in changelog,
wisest owl
wisest_owl
changelog

[livejournal] r16110:

Committer: gprochaev
U   branches/modernize2/cgi-bin/LJ/Request/Apache.pm
Modified: branches/modernize2/cgi-bin/LJ/Request/Apache.pm
===================================================================
--- branches/modernize2/cgi-bin/LJ/Request/Apache.pm	2010-01-20 08:37:34 UTC (rev 16109)
+++ branches/modernize2/cgi-bin/LJ/Request/Apache.pm	2010-01-20 08:43:19 UTC (rev 16110)
@@ -309,14 +309,10 @@
 # TODO: do we need this and 'args' methods? they are much the same.
 sub LJ::Request::get_params {
     my $class = shift;
-    if (wantarray) {
-        my @params = $instance->{r}->args;
-        return @params;
-    } else {
-        my $query_string = $instance->{r}->args;
-        return $query_string;
-    }
+    my @params = $instance->{r}->args;
+    return @params;
 }
+
 sub LJ::Request::post_params {
     my $class = shift;
 

Tags: livejournal, pm, wisest-owl
Subscribe

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments