Igor Gariev (gariev) wrote in changelog,
Igor Gariev
gariev
changelog

[ljcom] r10648: LJSUP-9085: Branding for Plus-account

Committer: gariev
LJSUP-9085: Branding for Plus-account

U   trunk/cgi-bin/LJ/Hooks/Homepage.pm
Modified: trunk/cgi-bin/LJ/Hooks/Homepage.pm
===================================================================
--- trunk/cgi-bin/LJ/Hooks/Homepage.pm	2011-06-14 07:12:07 UTC (rev 10647)
+++ trunk/cgi-bin/LJ/Hooks/Homepage.pm	2011-06-14 07:38:03 UTC (rev 10648)
@@ -52,7 +52,7 @@
 
     ## Don't show to logged-in paid and basic accounts
     my $remote = LJ::get_remote();
-    return if $remote && ($remote->get_cap('paid') || !$remote->get_cap('plus'));
+    return if $remote && ($remote->get_cap('paid') || !$remote->in_class('plus'));
 
     ## only Cyr users
     return unless LJ::SUP->is_remote_sup;

Tags: gariev, 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