Fix #4252: do not reset the user photo setting when edit the user.
This commit is contained in:
		| @ -226,11 +226,6 @@ | ||||
|                         user.Password = _password; | ||||
|                         user.Email = email; | ||||
|                         user.DisplayName = string.IsNullOrWhiteSpace(displayname) ? username : displayname; | ||||
|                         user.PhotoFileId = null; | ||||
|                         if (user.PhotoFileId == -1) | ||||
|                         { | ||||
|                             user.PhotoFileId = null; | ||||
|                         } | ||||
|  | ||||
|                         user.IsDeleted = (isdeleted == null ? true : Boolean.Parse(isdeleted)); | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Ben
					Ben