madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r23118: LJSUP-13883: Journal pages optimizaiton ...

Committer: sbelyaev
LJSUP-13883: Journal pages optimizaiton : stage 1
U   trunk/cgi-bin/LJ/User.pm
Modified: trunk/cgi-bin/LJ/User.pm
===================================================================
--- trunk/cgi-bin/LJ/User.pm	2012-10-11 14:48:57 UTC (rev 23117)
+++ trunk/cgi-bin/LJ/User.pm	2012-10-11 18:19:15 UTC (rev 23118)
@@ -457,7 +457,7 @@
 sub prefetch_subscriptions {
     my $u = shift;
     my @subs = LJ::Subscription->find($u, prefetch => 1); 
-    $u->{__subscriptions} = @subs;
+    $u->{__subscriptions} = \@subs;
 }
 
 sub readonly {

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