vadvs (vadvs) wrote in changelog,
vadvs
vadvs
changelog

[livejournal] r17409: LJSUP-6874: do not send pingback from po...

Committer: vsukhanov
LJSUP-6874: do not send pingback from posts to syndicated journals.
U   trunk/cgi-bin/LJ/Hooks/PingBack.pm
Modified: trunk/cgi-bin/LJ/Hooks/PingBack.pm
===================================================================
--- trunk/cgi-bin/LJ/Hooks/PingBack.pm	2010-09-20 06:12:33 UTC (rev 17408)
+++ trunk/cgi-bin/LJ/Hooks/PingBack.pm	2010-09-20 06:54:14 UTC (rev 17409)
@@ -107,6 +107,9 @@
     # check security
     return if $security ne 'public';
 
+    # do not send pingback from posts to Syndicated journals
+    return if $journal->is_syndicated;
+
 =head
     # define pingback prop value
     my $prop_pingback = $args->{props}->{pingback};

Tags: livejournal, pm, vadvs
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments