madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r20575: LJSUP-10448: Remove delayed entries from...

Committer: sbelyaev
LJSUP-10448: Remove delayed entries from get_daycounts
U   trunk/cgi-bin/LJ/User.pm
Modified: trunk/cgi-bin/LJ/User.pm
===================================================================
--- trunk/cgi-bin/LJ/User.pm	2011-11-18 12:05:33 UTC (rev 20574)
+++ trunk/cgi-bin/LJ/User.pm	2011-11-18 12:10:28 UTC (rev 20575)
@@ -7886,9 +7886,6 @@
     my $list = LJ::MemCache::get($memkey);
     if ($list) {
         my $list_create_time = shift @$list;
-        if (LJ::is_enabled("delayed_entries")) {
-            LJ::DelayedEntry->get_daycount_query($u, $list, $secwhere);
-        }
         return $list if $list_create_time >= $u->timeupdate;
     }
 
@@ -7922,10 +7919,6 @@
 
     LJ::MemCache::set($memkey, [time, @days]);
 
-    # not cached part
-    if (LJ::is_enabled("delayed_entries")) {
-        LJ::DelayedEntry->get_daycount_query($u, \@days, $secwhere);
-    }
     $release_lock->();
     return \@days;
 }

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