Skip to content

Commit

Permalink
Remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
KrzysztofPajak committed Sep 22, 2021
1 parent 095cb4a commit ca30207
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions src/Web/Grand.Web.Admin/Controllers/SettingController.cs
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
using Grand.Business.Catalog.Interfaces.Tax;
using Grand.Business.Checkout.Commands.Models.Orders;
using Grand.Business.Checkout.Commands.Models.Orders;
using Grand.Business.Checkout.Interfaces.Orders;
using Grand.Business.Common.Extensions;
using Grand.Business.Common.Interfaces.Configuration;
using Grand.Business.Common.Interfaces.Directory;
using Grand.Business.Common.Interfaces.Localization;
using Grand.Business.Common.Interfaces.Logging;
using Grand.Business.Common.Interfaces.Security;
using Grand.Business.Common.Interfaces.Stores;
using Grand.Business.Common.Services.Security;
using Grand.Business.Customers.Interfaces;
using Grand.Business.Storage.Interfaces;
using Grand.Domain.AdminSearch;
using Grand.Domain.Blogs;
Expand All @@ -32,7 +28,6 @@
using Grand.Infrastructure.Caching;
using Grand.SharedKernel.Extensions;
using Grand.Web.Admin.Extensions;
using Grand.Web.Admin.Models.PushNotifications;
using Grand.Web.Admin.Models.Settings;
using Grand.Web.Common.DataSource;
using Grand.Web.Common.Extensions;
Expand Down Expand Up @@ -62,7 +57,6 @@ public partial class SettingController : BaseAdminController
private readonly IDateTimeService _dateTimeService;
private readonly IThemeProvider _themeProvider;
private readonly ICustomerActivityService _customerActivityService;
private readonly IStoreService _storeService;
private readonly IWorkContext _workContext;
private readonly IMediator _mediator;
private readonly IMerchandiseReturnService _merchandiseReturnService;
Expand All @@ -81,7 +75,6 @@ public partial class SettingController : BaseAdminController
IDateTimeService dateTimeService,
IThemeProvider themeProvider,
ICustomerActivityService customerActivityService,
IStoreService storeService,
IWorkContext workContext,
IMediator mediator,
IMerchandiseReturnService merchandiseReturnService,
Expand All @@ -96,7 +89,6 @@ public partial class SettingController : BaseAdminController
_dateTimeService = dateTimeService;
_themeProvider = themeProvider;
_customerActivityService = customerActivityService;
_storeService = storeService;
_workContext = workContext;
_mediator = mediator;
_merchandiseReturnService = merchandiseReturnService;
Expand Down Expand Up @@ -1001,7 +993,7 @@ public async Task<IActionResult> PushNotifications()
{
var storeScope = await GetActiveStore();
var settings = _settingService.LoadSetting<PushNotificationsSettings>(storeScope);
var model = settings.ToModel();
var model = settings.ToModel();

return View(model);
}
Expand Down

0 comments on commit ca30207

Please sign in to comment.