Leaving it in for now for ease of reuse.  If it makes sense to rearrange
the display-related stuff later, I will do so.


On Mon, Jul 29, 2013 at 5:29 AM, Afuna <notifications@github.com> wrote:

> In cgi-bin/DW/VirtualGiftTransaction.pm:
>
> > +                          ? $item->from_html : undef;
> > +            $data->{from_text} = $item->from_text ne LJ::Lang::ml( 'error.nojournal' )
> > +                               ? $item->from_text : undef;
> > +        }
> > +
> > +        LJ::MemCache::set( $memkey, $data, 3600*24 );
> > +    }
> > +
> > +    return {} unless %$data;
> > +
> > +    # populate some extra hash keys for convenience
> > +    $data->{id}    = $data->{transid};
> > +    $data->{user}  = LJ::want_user( $data->{rcptid} );
> > +    $data->{vgift} = DW::VirtualGift->new( $data->{vgiftid} );
> > +    $data->{buyer} = LJ::want_user( $data->{buyerid} );
> > +    $data->{timestamp} = LJ::mysql_time( $data->{delivery_t} );
>
> Double-checking on this comment here (no response either yay or nay).
> @kareila <https://github.com/kareila>?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/dreamwidth/dw-free/pull/496/files#r5446738>
> .
>