madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r22733: LJSUP-13301: Main page optimization

Committer: sbelyaev
LJSUP-13301: Main page optimization
U   trunk/cgi-bin/ljprotocol.pl
Modified: trunk/cgi-bin/ljprotocol.pl
===================================================================
--- trunk/cgi-bin/ljprotocol.pl	2012-08-24 09:04:40 UTC (rev 22732)
+++ trunk/cgi-bin/ljprotocol.pl	2012-08-24 10:37:11 UTC (rev 22733)
@@ -2584,15 +2584,6 @@
         LJ::run_hook('spam_community_detector', $uowner, $req, \$need_moderated);
     }
 
-    if ( $uowner->is_community && 
-         $uowner->user eq $LJ::WIDGET_FEATURED_COMMUNITY_NAME ) {
-
-        #reset widget featured_communities
-        my $featured_communities_key  = 'featured_communities:widget:data:' .  $LJ::WIDGET_FEATURED_COMMUNITY_NAME;
-        LJ::MemCache::delete($featured_communities_key);
-    }
-
-
     # if posting to a moderated community, store and bail out here
     if ($uowner->{'journaltype'} eq 'C' && $need_moderated && !$flags->{'nomod'}) {
         # don't moderate admins, moderators & pre-approved users

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