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

[ljcom] r11856: LJSUP-11372: Develop regional self promo...

Committer: vtroitsky
LJSUP-11372: Develop regional self promo for Ukraine. Additional link from cart item to selfpromos (using subitem field) is temporary disabled.
U   trunk/cgi-bin/LJ/Pay/SelfPromo.pm
Modified: trunk/cgi-bin/LJ/Pay/SelfPromo.pm
===================================================================
--- trunk/cgi-bin/LJ/Pay/SelfPromo.pm	2012-04-27 16:32:53 UTC (rev 11855)
+++ trunk/cgi-bin/LJ/Pay/SelfPromo.pm	2012-04-27 17:28:39 UTC (rev 11856)
@@ -619,8 +619,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->save();
+       # $item->set_subitem(join('-', ($slot->slot_id, $new_promotion->promoid)));
+       # $item->save();
 
         $email_subject = $ml->("selfpromo.$object_type.notification.activate.subject");
  
@@ -1430,8 +1430,8 @@
     my $promoter = $promotion->promoter;        # promoter: user
     my $object_url = $promotion->object_url;
 
-    if ($promotion->is_object_deleted) {  
-  
+    if ($promotion->is_object_deleted) {
+
         # we no longer have an entry because it's been deleted,
         # so let's reconstruct the URL => get it from promo 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