holyandrew (holyandrew) wrote in changelog,
holyandrew
holyandrew
changelog

[ljcom] r12166: LJSUP-12676: Changes for paid users

Committer: akanashin
LJSUP-12676: Changes for paid users
U   trunk/cgi-bin/LJ/Hooks/ESN.pm
Modified: trunk/cgi-bin/LJ/Hooks/ESN.pm
===================================================================
--- trunk/cgi-bin/LJ/Hooks/ESN.pm	2012-06-25 07:32:09 UTC (rev 12165)
+++ trunk/cgi-bin/LJ/Hooks/ESN.pm	2012-06-25 08:35:41 UTC (rev 12166)
@@ -46,7 +46,7 @@
         $html_body = $frame_tmpl->output();
     }
 
-    if( $ev->show_promo ) {
+    if( $ev->show_promo && !$u->in_class('paid')) {
         $html_body  .= LJ::run_hook('add_notificationpromo', $u, 'html');
         $plain_body .= LJ::run_hook('add_notificationpromo', $u, 'plaintext');
     }

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