madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r22678: 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-16 13:18:25 UTC (rev 22677)
+++ trunk/cgi-bin/LJ/User.pm	2012-08-16 13:56:23 UTC (rev 22678)
@@ -2040,7 +2040,9 @@
 
 sub journal_base {
     my $u = shift;
-    return LJ::journal_base($u);
+    return $u->{'journal_base'} if $u->{'journal_base'};
+    $u->{'journal_base'} = LJ::journal_base($u);
+    return $u->{'journal_base'};
 }
 
 sub allpics_base {

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