madeon (madeon) wrote in changelog,
madeon
madeon
changelog

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

Committer: sbelyaev
LJSUP-13301: Main page optimization
U   trunk/cgi-bin/LJ/User.pm
Modified: trunk/cgi-bin/LJ/User.pm
===================================================================
--- trunk/cgi-bin/LJ/User.pm	2012-08-30 07:37:29 UTC (rev 22777)
+++ trunk/cgi-bin/LJ/User.pm	2012-08-30 07:44:41 UTC (rev 22778)
@@ -8789,6 +8789,8 @@
     # get a u object directly from the db
     my $u = LJ::load_userid($userid, "force");
 
+    delete $u->{sup_enabled} if $u;
+
     # add new caps
     my $newcaps = int($u->{'caps'});
     foreach (@$cap_add) {

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