AB3917 - Removes unused variable..

This commit is contained in:
Bjarke Berg
2019-11-26 09:38:24 +01:00
parent 7831d00808
commit fd22afd387

View File

@@ -612,9 +612,7 @@ namespace Umbraco.Web.Editors
[HttpPost]
public HttpResponseMessage DeleteByKey(Guid key)
{
IMember foundMember;
MembershipUser foundMembershipUser;
foundMember = Services.MemberService.GetByKey(key);
var foundMember = Services.MemberService.GetByKey(key);
if (foundMember == null)
{
return HandleContentNotFound(key, false);