Normalizing line endings in Orchard.Users AdminController

This commit is contained in:
Lombiq
2015-01-26 20:12:23 +01:00
committed by Zoltán Lehóczky
parent 2187f51d48
commit e612fc031e

View File

@@ -25,7 +25,7 @@ namespace Orchard.Users.Controllers {
public class AdminController : Controller, IUpdateModel {
private readonly IMembershipService _membershipService;
private readonly IUserService _userService;
private readonly IUserEventHandler _userEventHandlers;
private readonly IUserEventHandler _userEventHandlers;
private readonly ISiteService _siteService;
public AdminController(
@@ -33,7 +33,7 @@ namespace Orchard.Users.Controllers {
IMembershipService membershipService,
IUserService userService,
IShapeFactory shapeFactory,
IUserEventHandler userEventHandlers,
IUserEventHandler userEventHandlers,
ISiteService siteService) {
Services = services;
_membershipService = membershipService;
@@ -318,7 +318,7 @@ namespace Orchard.Users.Controllers {
if ( user != null ) {
user.As<UserPart>().RegistrationStatus = UserStatus.Approved;
Services.Notifier.Information(T("User {0} approved", user.UserName));
_userEventHandlers.Approved(user);
_userEventHandlers.Approved(user);
}
return RedirectToAction("Index");