add RemoveUser to UserManagement

0.9.1.0-post-fixes
UbitUmarov 2018-10-20 14:04:11 +01:00
parent e7d9fe966c
commit 6d063785bd
2 changed files with 12 additions and 3 deletions

View File

@ -954,6 +954,15 @@ namespace OpenSim.Region.CoreModules.Framework.UserManagement
}
}
}
public bool RemoveUser(UUID uuid)
{
lock (m_UserCache)
{
return m_UserCache.Remove(uuid);
}
}
#endregion
public virtual bool IsLocalGridUser(UUID uuid)

View File

@ -92,7 +92,7 @@ namespace OpenSim.Services.Interfaces
/// <param name="firstName"></param>
/// <param name="profileURL"></param>
void AddUser(UUID uuid, string firstName, string lastName, string homeURL);
bool RemoveUser(UUID uuid);
bool IsLocalGridUser(UUID uuid);
}
}