madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r22305: LJSUP-12635: Disable notifications

Committer: sbelyaev
LJSUP-12635: Disable notifications
U   trunk/cgi-bin/ljprotocol.pl
Modified: trunk/cgi-bin/ljprotocol.pl
===================================================================
--- trunk/cgi-bin/ljprotocol.pl	2012-06-22 07:05:16 UTC (rev 22304)
+++ trunk/cgi-bin/ljprotocol.pl	2012-06-22 09:12:42 UTC (rev 22305)
@@ -2918,7 +2918,8 @@
     $res->{'url'} = $entry->url;
 
     push @jobs, LJ::Event::JournalNewEntry->new($entry)->fire_job;
-    if (!$LJ::DISABLED{'esn-userevents'} || $LJ::_T_FIRE_USERNEWENTRY) {
+    if (!$flags->{'entryrepost'} && 
+            (!$LJ::DISABLED{'esn-userevents'} || $LJ::_T_FIRE_USERNEWENTRY)) {
         push @jobs, LJ::Event::UserNewEntry->new($entry)->fire_job
     }
 

Tags: livejournal, madeon, pl, sbelyaev
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