Skip to content

Commit c706700

Browse files
committed
Minor formatting (no real changes)
1 parent dc6d202 commit c706700

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/Presentation/Nop.Web/Controllers/CustomerController.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -371,8 +371,7 @@ public ActionResult Logout()
371371
}
372372

373373
//activity log
374-
_customerActivityService.InsertActivity("PublicStore.Logout",
375-
_localizationService.GetResource("ActivityLog.PublicStore.Logout"));
374+
_customerActivityService.InsertActivity("PublicStore.Logout", _localizationService.GetResource("ActivityLog.PublicStore.Logout"));
376375
//standard logout
377376
_authenticationService.SignOut();
378377

@@ -660,8 +659,7 @@ public ActionResult Register(RegisterModel model, string returnUrl, bool captcha
660659
if (_customerSettings.NewsletterEnabled)
661660
{
662661
//save newsletter value
663-
var newsletter =
664-
_newsLetterSubscriptionService.GetNewsLetterSubscriptionByEmailAndStoreId(model.Email, _storeContext.CurrentStore.Id);
662+
var newsletter = _newsLetterSubscriptionService.GetNewsLetterSubscriptionByEmailAndStoreId(model.Email, _storeContext.CurrentStore.Id);
665663
if (newsletter != null)
666664
{
667665
if (model.Newsletter)

0 commit comments

Comments
 (0)