madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r23140: LJSUP-13883: Journal pages optimizaiton ...

Committer: sbelyaev
LJSUP-13883: Journal pages optimizaiton : stage 1
U   trunk/cgi-bin/LJ/S2.pm
Modified: trunk/cgi-bin/LJ/S2.pm
===================================================================
--- trunk/cgi-bin/LJ/S2.pm	2012-10-15 20:30:58 UTC (rev 23139)
+++ trunk/cgi-bin/LJ/S2.pm	2012-10-15 21:27:38 UTC (rev 23140)
@@ -4196,10 +4196,11 @@
     my $newentry_etypeid = 'LJ::Event::JournalNewEntry'->etypeid;
 
     my $newentry_sub = $this->{__newentry_sub}->{$journalu->id} || undef;
-    if ($remote) { 
+    if ($remote && !$newentry_sub) { 
         ($newentry_sub) = $remote->has_subscription( journalid      => $journalu->id,
                                                     event          => "JournalNewEntry",
                                                     require_active => 1,);
+
         $this->{__newentry_sub}->{$journalu->id} = $newentry_sub;
     }
 

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