[dw-free] Allow importing of your journal from another LiveJournal-based site.
[commit: http://hg.dwscoalition.org/dw-free/rev/388b6bf4d50d]
http://bugs.dwscoalition.org/show_bug.cgi?id=114
Accidentally left in debugging code, sigh...
Patch by
mark.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=114
Accidentally left in debugging code, sigh...
Patch by
![[staff profile]](https://www.dreamwidth.org/img/silk/identity/user_staff.png)
Files modified:
- cgi-bin/DW/Worker/ContentImporter/LiveJournal/Entries.pm
-------------------------------------------------------------------------------- diff -r afff3cf416df -r 388b6bf4d50d cgi-bin/DW/Worker/ContentImporter/LiveJournal/Entries.pm --- a/cgi-bin/DW/Worker/ContentImporter/LiveJournal/Entries.pm Thu Mar 12 08:57:00 2009 +0000 +++ b/cgi-bin/DW/Worker/ContentImporter/LiveJournal/Entries.pm Thu Mar 12 09:04:06 2009 +0000 @@ -96,10 +96,6 @@ sub try_work { my $hash = $class->call_xmlrpc( $data, 'syncitems', { lastsync => $lastsync } ); return $temp_fail->( 'XMLRPC failure: ' . $hash->{faultString} ) if ! $hash || $hash->{fault}; - - open FILE, ">>/tmp/hashdump"; - print FILE LJ::D( $hash ); - close FILE; foreach my $item ( @{$hash->{syncitems} || []} ) { next unless $item->{item} =~ /^L-(\d+)$/; --------------------------------------------------------------------------------