Patch by mark.
diffs (23 lines):
diff -r 624cbb39f2ca -r 8c9665b68d32 cgi-bin/ljprotocol.pl
--- a/cgi-bin/ljprotocol.pl Thu Aug 27 17:59:12 2009 +0000
+++ b/cgi-bin/ljprotocol.pl Thu Aug 27 18:01:49 2009 +0000
@@ -1528,6 +1528,9 @@ sub postevent
push @jobs, LJ::Event::JournalNewEntry->new($entry)->fire_job;
push @jobs, LJ::Event::UserNewEntry->new($entry)->fire_job if
LJ::is_enabled('esn-userevents') || $LJ::_T_FIRE_USERNEWENTRY;
push @jobs, LJ::Event::OfficialPost->new($entry)->fire_job if
$uowner->is_official;
+
+ # PubSubHubbub Support
+ LJ::Feed::generate_hubbub_jobs( $uowner, \...@jobs );
}
push @jobs, LJ::EventLogRecord::NewEntry->new($entry)->fire_job;
@@ -1535,9 +1538,6 @@ sub postevent
if ( @LJ::SPHINX_SEARCHD ) {
push @jobs, TheSchwartz::Job->new_from_array(
'DW::Worker::Sphinx::Copier', { userid => $uowner->id } );
}
-
- # PubSubHubbub Support
- LJ::Feed::generate_hubbub_jobs( $uowner, \...@jobs );
my $sclient = LJ::theschwartz();
if ($sclient && @jobs) {
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog