[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
afuna.
http://bugs.dwscoalition.org/show_bug.cgi?id=68
Fix some Mark-fail from during Apache2 conversion.
Patch by
--------------------------------------------------------------------------------
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;
--------------------------------------------------------------------------------
