sunnyman's (sunnyman) wrote in changelog,
sunnyman's
sunnyman
changelog

[ljcom] r11947: LJSUP-11765: New format of self promo st...

Committer: vtroitsky
LJSUP-11765: New format of self promo statistics mailout. Report was simplified.
U   trunk/cgi-bin/LJ/Pay/SelfPromo.pm
Modified: trunk/cgi-bin/LJ/Pay/SelfPromo.pm
===================================================================
--- trunk/cgi-bin/LJ/Pay/SelfPromo.pm	2012-05-14 15:06:43 UTC (rev 11946)
+++ trunk/cgi-bin/LJ/Pay/SelfPromo.pm	2012-05-14 15:16:31 UTC (rev 11947)
@@ -622,7 +622,8 @@
         
         my $new_promotion = LJ::Pay::Promotion::Auction->create_active($slot, $promoted_object, $cost, $rcpt_u);
 
-       # $item->set_subitem(join('-', ($slot->slot_id, $new_promotion->promoid)));
+        $item->set_subitem(join('-', ($slot->slot_id, $new_promotion->promoid)));
+
        # $item->save();
 
         $email_subject = $ml->("selfpromo.$object_type.notification.activate.subject", { region => $region_str });
@@ -1898,6 +1899,7 @@
     $it->set_prop( 'selfpromo_remainder'      => $opts->{'remainder'} );
     $it->set_prop( 
                  'selfpromo_remainder_userid' => $opts->{'remainder_userid'} );
+    $it->set_prop( 'selfpromo_country'        => $opts->{'slot'}->region );
 
     # Add object specific properties, if object exists (in case of non refunding cart)
     if ( my $object = $opts->{'object'} ) {

Tags: ljcom, pm, sunnyman, vtroitsky
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