ssafronova (ssafronova) wrote in changelog,
ssafronova
ssafronova
changelog

[livejournal] r18728: LJSUP-8409: We need to exclude Paid and ...

Committer: ssafronova
LJSUP-8409: We need to exclude Paid and Permanent users from opt "Never used Try&buy"
U   trunk/cgi-bin/LJ/SiteMessages.pm
Modified: trunk/cgi-bin/LJ/SiteMessages.pm
===================================================================
--- trunk/cgi-bin/LJ/SiteMessages.pm	2011-03-29 05:10:33 UTC (rev 18727)
+++ trunk/cgi-bin/LJ/SiteMessages.pm	2011-03-29 06:00:26 UTC (rev 18728)
@@ -24,7 +24,7 @@
     my $add = 0;
     my $already_tb = LJ::TryNBuy->already_used($u);
     $add += AccountMask->{AlreadyTryNBuy} if $already_tb;
-    $add += AccountMask->{NeverTryNBuy} unless $u->get_cap('trynbuy') or $already_tb;
+    $add += AccountMask->{NeverTryNBuy} unless $u->get_cap('trynbuy') or $already_tb or $u->get_cap('paid');
     $add += AccountMask->{EmailFaulty} if $u->prop('email_faulty');
 
     return $add + AccountMask->{Permanent} if $u->in_class('perm');

Tags: livejournal, pm, ssafronova
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