diff options
Add a "useCached" parameter to GetUserAccount. Add a function to Scene to get the user flags. It has to be here due to access restrictions :/
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Services/UserAccountService/UserAccountService.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Services/UserAccountService/UserAccountService.cs b/OpenSim/Services/UserAccountService/UserAccountService.cs index cbd6f35..b914668 100644 --- a/OpenSim/Services/UserAccountService/UserAccountService.cs +++ b/OpenSim/Services/UserAccountService/UserAccountService.cs | |||
@@ -208,6 +208,11 @@ namespace OpenSim.Services.UserAccountService | |||
208 | 208 | ||
209 | public UserAccount GetUserAccount(UUID scopeID, UUID principalID) | 209 | public UserAccount GetUserAccount(UUID scopeID, UUID principalID) |
210 | { | 210 | { |
211 | return GetUserAccount(scopeID, principalID, true); | ||
212 | } | ||
213 | |||
214 | public UserAccount GetUserAccount(UUID scopeID, UUID principalID, bool useCache) | ||
215 | { | ||
211 | UserAccountData[] d; | 216 | UserAccountData[] d; |
212 | 217 | ||
213 | if (scopeID != UUID.Zero) | 218 | if (scopeID != UUID.Zero) |