mark: A photo of Mark kneeling on top of the Taal Volcano in the Philippines. It was a long hike. (Default)
Mark Smith ([staff profile] mark) wrote in [site community profile] changelog2009-02-24 08:17 am

[dw-free] DW::Request-ification

[commit: http://hg.dwscoalition.org/dw-free/rev/9ae6cc535deb]

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

Fix some Mark-fail from during Apache2 conversion.

Patch by [personal profile] afuna.

--------------------------------------------------------------------------------
diff -r a616a20b0980 -r 9ae6cc535deb cgi-bin/Apache/LiveJournal.pm
--- a/cgi-bin/Apache/LiveJournal.pm	Tue Feb 24 08:15:58 2009 +0000
+++ b/cgi-bin/Apache/LiveJournal.pm	Tue Feb 24 08:17:37 2009 +0000
@@ -1658,7 +1658,7 @@ sub db_logger
     my $r = shift;
     my $rl = $r->last;
 
-    $r->pnotes->{did_lj_logging} => 1;
+    $r->pnotes->{did_lj_logging} = 1;
 
     # these are common enough, it's worth doing it here, early, before
     # constructing the accesslogrecord.
diff -r a616a20b0980 -r 9ae6cc535deb cgi-bin/LJ/User.pm
--- a/cgi-bin/LJ/User.pm	Tue Feb 24 08:15:58 2009 +0000
+++ b/cgi-bin/LJ/User.pm	Tue Feb 24 08:17:37 2009 +0000
@@ -7761,7 +7761,7 @@ sub get_remote
     }
 
     LJ::User->set_remote($u);
-    $r->notes->{ljuser} => $u->{user};
+    $r->notes->{ljuser} = $u->{user};
     return $u;
 }
 
diff -r a616a20b0980 -r 9ae6cc535deb htdocs/talkread.bml
--- a/htdocs/talkread.bml	Tue Feb 24 08:15:58 2009 +0000
+++ b/htdocs/talkread.bml	Tue Feb 24 08:17:37 2009 +0000
@@ -29,7 +29,7 @@ body<=
  }
 
  my $r = BML::get_request();
- $r->notes->{codepath} => "bml.talkread";
+ $r->notes->{codepath} = "bml.talkread";
 
  my $uri = BML::get_uri();
  my $itemid;
--------------------------------------------------------------------------------

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org