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

[ljcom] r12158: LJSUP-12300: Update documentations for i...

Committer: vtroitsky
LJSUP-12300: Update documentations for internal APIs functions
U   trunk/cgi-bin/LJ/Pay/SelfPromo.pm
Modified: trunk/cgi-bin/LJ/Pay/SelfPromo.pm
===================================================================
--- trunk/cgi-bin/LJ/Pay/SelfPromo.pm	2012-06-21 16:13:54 UTC (rev 12157)
+++ trunk/cgi-bin/LJ/Pay/SelfPromo.pm	2012-06-21 16:19:15 UTC (rev 12158)
@@ -965,13 +965,14 @@
     return $cart;
 }
 
-=item send_notifications
+=item send_notification
     Send notification to the specified user about action performed with promo related to him
 # supported opts: reason, details, object, refund_amount, exptimea
 
-# TODO (Refactoring):  Pass PromoObject instead of %opts and use methods
+# TODO (Refactoring): Pass PromoObject instead of %opts and use methods
 
 # TODO (Refactoring): Move to Promotion objects 
+  common logic of sending notifications here
 =cut
 sub send_notification {
     my ( $class, $slot, $user, $action, %opts ) = @_;

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