holyandrew (holyandrew) wrote in changelog,
holyandrew
holyandrew
changelog

[ljcom] r12484: LJSUP-13329: 8 gifts

Committer: akanashin
LJSUP-13329: 8 gifts
U   trunk/cgi-bin/LJ/VGift.pm
Modified: trunk/cgi-bin/LJ/VGift.pm
===================================================================
--- trunk/cgi-bin/LJ/VGift.pm	2012-08-16 14:15:09 UTC (rev 12483)
+++ trunk/cgi-bin/LJ/VGift.pm	2012-08-16 14:45:23 UTC (rev 12484)
@@ -106,7 +106,7 @@
     my $u = shift;
     return undef unless $gifts;
     @$gifts = grep { ! $_->is_removed_from_profile } @$gifts;
-    my $limit = LJ::SUP->is_sup_enabled($u) ? 6 : 10;
+    my $limit = $LJ::DISABLED{profile_controller} ? (LJ::SUP->is_sup_enabled($u) ? 6 : 10) : 8;
     $#$gifts = $limit-1 if @$gifts>$limit;
     return @$gifts;
 }

Tags: akanashin, holyandrew, ljcom, pm
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