update user deletion

This commit is contained in:
Luke Pulverenti
2017-09-12 02:27:39 -04:00
parent 2f99a78230
commit 381ea159de
4 changed files with 6 additions and 5 deletions

View File

@@ -666,8 +666,7 @@ namespace Emby.Server.Implementations.Library
DeleteUserPolicy(user);
// Force this to be lazy loaded again
Users = LoadUsers();
Users = allUsers.Where(i => i.Id != user.Id).ToList();
OnUserDeleted(user);
}