madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r22684: 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-17 09:20:08 UTC (rev 22683)
+++ trunk/cgi-bin/ljprotocol.pl	2012-08-17 09:43:37 UTC (rev 22684)
@@ -2584,7 +2584,9 @@
         LJ::run_hook('spam_community_detector', $uowner, $req, \$need_moderated);
     }
 
-    if ($uowner->is_community) {
+    if ( $uowner->is_community && 
+         $uowner->user eq $LJ::WIDGET_FEATURED_COMMUNITY_NAME ) {
+
         #reset widget featured_communities
         my $featured_communities_key  = 'featured_communities:items:' .  $uowner->userid;
         LJ::MemCache::delete($featured_communities_key);

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