Fix broken logic that prevents some posts from being imported during a 
community import.

        Patch by mark. 

diffs (12 lines):

diff -r ba33322ecc17 -r b510e43dbfcd 
cgi-bin/DW/Worker/ContentImporter/LiveJournal/Entries.pm
--- a/cgi-bin/DW/Worker/ContentImporter/LiveJournal/Entries.pm  Tue Nov 10 
05:03:48 2009 +0000
+++ b/cgi-bin/DW/Worker/ContentImporter/LiveJournal/Entries.pm  Wed Nov 11 
11:59:30 2009 +0000
@@ -231,7 +231,7 @@ sub try_work {
 
             # now try to determine if we need to post this as a user
             my $posteru;
-            if ( $evt->{poster} && $evt->{poster} ne $data->{username} ) {
+            if ( $data->{usejournal} ) {
                 my $posterid = exists $user_map{$evt->{poster}} ? 
$user_map{$evt->{poster}} :
                     
DW::Worker::ContentImporter::LiveJournal->remap_username_friend( $data, 
$evt->{poster} );
 
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to