Skip to content

Commit

Permalink
ICampaignService - remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
KrzysztofPajak committed Oct 20, 2021
1 parent 9eaf2d8 commit a7d32e3
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ public partial class CampaignService : ICampaignService
private readonly IRepository<NewsLetterSubscription> _newsLetterSubscriptionRepository;
private readonly IRepository<Customer> _customerRepository;
private readonly IEmailSender _emailSender;
private readonly IMessageTokenProvider _messageTokenProvider;
private readonly IQueuedEmailService _queuedEmailService;
private readonly ICustomerService _customerService;
private readonly IStoreService _storeService;
Expand All @@ -40,7 +39,7 @@ public partial class CampaignService : ICampaignService
IRepository<CampaignHistory> campaignHistoryRepository,
IRepository<NewsLetterSubscription> newsLetterSubscriptionRepository,
IRepository<Customer> customerRepository,
IEmailSender emailSender, IMessageTokenProvider messageTokenProvider,
IEmailSender emailSender,
IQueuedEmailService queuedEmailService,
ICustomerService customerService, IStoreService storeService,
IMediator mediator,
Expand All @@ -54,7 +53,6 @@ public partial class CampaignService : ICampaignService
_newsLetterSubscriptionRepository = newsLetterSubscriptionRepository;
_customerRepository = customerRepository;
_emailSender = emailSender;
_messageTokenProvider = messageTokenProvider;
_queuedEmailService = queuedEmailService;
_storeService = storeService;
_customerService = customerService;
Expand Down Expand Up @@ -363,8 +361,6 @@ public CampaignCustomerHelp()
//activity log
if (customer != null)
await _customerActivityService.InsertActivity("CustomerReminder.SendCampaign", campaign.Id, _translationService.GetResource("ActivityLog.SendCampaign"), customer, campaign.Name);
else
await _customerActivityService.InsertActivity("CustomerReminder.SendCampaign", campaign.Id, _translationService.GetResource("ActivityLog.SendCampaign"), campaign.Name + " - " + subscription.Email);

totalEmailsSent++;
}
Expand Down

0 comments on commit a7d32e3

Please sign in to comment.