[ljcom] r12112: LJSUP-12413: New promo product - Promo i...
Committer: akanashin
LJSUP-12413: New promo product - Promo in notificationsU trunk/bin/maint/selfpromo.pl U trunk/bin/maint/taskinfo-local.txt
Modified: trunk/bin/maint/selfpromo.pl
===================================================================
--- trunk/bin/maint/selfpromo.pl 2012-06-14 15:24:39 UTC (rev 12111)
+++ trunk/bin/maint/selfpromo.pl 2012-06-15 07:06:01 UTC (rev 12112)
@@ -20,6 +20,13 @@
}
};
+$maint{'notificationpromo_check'} = sub {
+ for my $region qw(ua cyr sg my) {
+ my $slot = LJ::Pay::PromotionSlot->find_slot(class => PROMO_NOTIFICATIONS(), type => 'entry', region => $region);
+ $slot->check_current_promotion() if $slot;
+ }
+};
+
$maint{'commercial_create'} = sub {
# Create additional slots for sell in commercial promo
my $slot = LJ::Pay::PromotionSlot->find_slot(class => PROMO_COMMERCIAL());
Modified: trunk/bin/maint/taskinfo-local.txt
===================================================================
--- trunk/bin/maint/taskinfo-local.txt 2012-06-14 15:24:39 UTC (rev 12111)
+++ trunk/bin/maint/taskinfo-local.txt 2012-06-15 07:06:01 UTC (rev 12112)
@@ -65,4 +65,5 @@
selfpromo.pl:
selfpromo_check - Check the current entry promoted via SelfPromo if it still should be promoted (not deleted / became ineligible / expired)
+ notificationpromo_check - Check the current entry promoted via NotificationPromo if it still should be promoted (not deleted / became ineligible / expired)
commercial_create - Create promotions for sell in advance.
