vadvs (vadvs) wrote in changelog,
vadvs
vadvs
changelog

[livejournal] r17267: LJSUP-6720: do not send Pingbacks to lin...

Committer: vsukhanov
LJSUP-6720: do not send Pingbacks to links added during entry editing.
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-02 08:44:21 UTC (rev 17266)
+++ trunk/cgi-bin/LJ/Hooks/PingBack.pm	2010-09-02 10:22:45 UTC (rev 17267)
@@ -132,6 +132,11 @@
 LJ::register_hook("editpost", sub {
     my $entry = shift;
 
+    ## LJSUP-6720: Pingbacks - only after creating entry or comment
+    ## Pingbacks should be sent only after creating entry or comment, and shouldn't be sent after modifiyng.
+    ## 02.09.2010
+    return;
+
     return unless LJ::PingBack->has_user_pingback($entry->journal);
 
     # check security

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