diff options
author | Oren Hurvitz | 2014-04-07 15:01:06 +0300 |
---|---|---|
committer | Oren Hurvitz | 2014-04-08 08:11:29 +0100 |
commit | e00f1a0410a3f57dea4a0cae1376a5d73609d75b (patch) | |
tree | 84cef48ff2538764daee803b3e5aec168859d354 /OpenSim/Services/HypergridService | |
parent | Better (amend to previous commit) (diff) | |
download | opensim-SC-e00f1a0410a3f57dea4a0cae1376a5d73609d75b.zip opensim-SC-e00f1a0410a3f57dea4a0cae1376a5d73609d75b.tar.gz opensim-SC-e00f1a0410a3f57dea4a0cae1376a5d73609d75b.tar.bz2 opensim-SC-e00f1a0410a3f57dea4a0cae1376a5d73609d75b.tar.xz |
Allow invalidating the users cache
Diffstat (limited to 'OpenSim/Services/HypergridService')
-rw-r--r-- | OpenSim/Services/HypergridService/UserAccountCache.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Services/HypergridService/UserAccountCache.cs b/OpenSim/Services/HypergridService/UserAccountCache.cs index 65f9dd5..fa7dd0b 100644 --- a/OpenSim/Services/HypergridService/UserAccountCache.cs +++ b/OpenSim/Services/HypergridService/UserAccountCache.cs | |||
@@ -1,4 +1,4 @@ | |||
1 | using System; | 1 | using System; |
2 | using System.Collections.Generic; | 2 | using System.Collections.Generic; |
3 | using System.Reflection; | 3 | using System.Reflection; |
4 | 4 | ||
@@ -95,6 +95,11 @@ namespace OpenSim.Services.HypergridService | |||
95 | return null; | 95 | return null; |
96 | } | 96 | } |
97 | 97 | ||
98 | public void InvalidateCache(UUID userID) | ||
99 | { | ||
100 | m_UUIDCache.Remove(userID); | ||
101 | } | ||
102 | |||
98 | public bool StoreUserAccount(UserAccount data) | 103 | public bool StoreUserAccount(UserAccount data) |
99 | { | 104 | { |
100 | return false; | 105 | return false; |