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

[ljcom] r12737: LJSUP-13403: Event fire parameters have ...

Committer: vtroitsky
LJSUP-13403: Event fire parameters have been changed.
U   trunk/cgi-bin/LJ/Pay/SelfPromo.pm
Modified: trunk/cgi-bin/LJ/Pay/SelfPromo.pm
===================================================================
--- trunk/cgi-bin/LJ/Pay/SelfPromo.pm	2012-10-09 08:20:08 UTC (rev 12736)
+++ trunk/cgi-bin/LJ/Pay/SelfPromo.pm	2012-10-09 13:56:03 UTC (rev 12737)
@@ -422,7 +422,7 @@
         LJ::Promo::LastPromotionIndex->update_index($new_promotion);
 
         if ($slot->class() eq PROMO_JOURNAL()) {
-            my $event = LJ::Event::JournalPromo->new($slot->owner, $slot->ownerid, $new_promotion->promoid);
+            my $event = LJ::Event::JournalPromo->new($new_promotion);
             $event->fire;
         }
 

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