Rewrite user tags in imported entry subjects.

        Patch by exor674. 

diffs (11 lines):

diff -r c7b98352981e -r 1f9b39c1f87e 
cgi-bin/DW/Worker/ContentImporter/LiveJournal/Entries.pm
--- a/cgi-bin/DW/Worker/ContentImporter/LiveJournal/Entries.pm  Tue Oct 20 
13:40:55 2009 +0000
+++ b/cgi-bin/DW/Worker/ContentImporter/LiveJournal/Entries.pm  Tue Oct 20 
14:18:31 2009 +0000
@@ -270,6 +270,7 @@ sub try_work {
             }
 
             $evt->{event} = $class->remap_lj_user( $data, $event );
+            $evt->{subject} = $class->remap_lj_user( $data, $evt->{subject} || 
"" );
 
             # actually post it
             my ( $ok, $res ) =
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to