Another fix for removal of LJ::nodb - don't pass DB handles.
Patch by kareila.
diffs (17 lines):
diff -r cfe6c71e5611 -r 4b3858085fc1 cgi-bin/ljprotocol.pl
--- a/cgi-bin/ljprotocol.pl Fri Jun 25 19:05:05 2010 -0500
+++ b/cgi-bin/ljprotocol.pl Sat Jun 26 10:42:52 2010 -0500
@@ -2273,9 +2273,10 @@ sub getevents
$evt->{'security'} = $sec;
$evt->{'allowmask'} = $mask if $sec eq "usemask";
}
- $evt->{'anum'} = $anum;
- $evt->{'poster'} = LJ::get_username($dbr, $jposterid) if $jposterid !=
$ownerid;
- $evt->{'url'} = LJ::item_link($uowner, $itemid, $anum);
+ $evt->{anum} = $anum;
+ $evt->{poster} = LJ::get_username( $jposterid )
+ if $jposterid != $ownerid;
+ $evt->{url} = LJ::item_link( $uowner, $itemid, $anum );
push @$events, $evt;
}
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog