holyandrew (holyandrew) wrote in changelog,
holyandrew
holyandrew
changelog

[ljcom] r12724: LJSUP-13844: There are Notification prom...

Committer: akanashin
LJSUP-13844: There are Notification promo for Sponsored accounts
U   trunk/cgi-bin/LJ/Hooks/ESN.pm
Modified: trunk/cgi-bin/LJ/Hooks/ESN.pm
===================================================================
--- trunk/cgi-bin/LJ/Hooks/ESN.pm	2012-10-03 15:09:14 UTC (rev 12723)
+++ trunk/cgi-bin/LJ/Hooks/ESN.pm	2012-10-04 07:03:47 UTC (rev 12724)
@@ -49,7 +49,7 @@
         $html_body = $frame_tmpl->output();
     }
 
-    if( $ev->show_promo && !$u->in_class('paid')) {
+    if( $ev->show_promo && !$u->in_class('paid') && !$u->in_class('sponsored')) {
         if ( $u->{opt_htmlemail} eq 'Y' ) {
             $html_body  .= LJ::run_hook('add_notificationpromo', $u, 'html');
         } else {

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