From 6b27587bc7631d6fd083f3b4f752d9ddcfda4830 Mon Sep 17 00:00:00 2001 From: Tom Date: Wed, 26 Jan 2011 16:25:08 -0800 Subject: 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 :/ --- OpenSim/Services/UserAccountService/UserAccountService.cs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'OpenSim/Services/UserAccountService') 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 public UserAccount GetUserAccount(UUID scopeID, UUID principalID) { + return GetUserAccount(scopeID, principalID, true); + } + + public UserAccount GetUserAccount(UUID scopeID, UUID principalID, bool useCache) + { UserAccountData[] d; if (scopeID != UUID.Zero) -- cgit v1.1