remove a parameter for detection of grid fail to suport getting multiple user accounts per call and handle it where needed.

This commit is contained in:
UbitUmarov
2016-08-13 23:41:57 +01:00
parent 7c1b2a5dde
commit 1337f5f26e
7 changed files with 31 additions and 15 deletions

View File

@@ -182,9 +182,9 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.UserAccounts
return UserAccountService.GetUserAccount(scopeID, Email);
}
public List<UserAccount> GetUserAccounts(UUID scopeID, List<string> IDs, out bool suported)
public List<UserAccount> GetUserAccounts(UUID scopeID, List<string> IDs)
{
return UserAccountService.GetUserAccounts(scopeID, IDs, out suported);
return UserAccountService.GetUserAccounts(scopeID, IDs);
}

View File

@@ -160,9 +160,8 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.UserAccounts
return account;
}
public override List<UserAccount> GetUserAccounts(UUID scopeID, List<string> IDs, out bool suported)
public override List<UserAccount> GetUserAccounts(UUID scopeID, List<string> IDs)
{
suported = true;
List<UserAccount> accs = new List<UserAccount>();
List<string> missing = new List<string>();
@@ -184,15 +183,14 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.UserAccounts
if(missing.Count > 0)
{
List<UserAccount> ext = base.GetUserAccounts(scopeID, missing, out suported);
if(suported && ext != null)
List<UserAccount> ext = base.GetUserAccounts(scopeID, missing);
if(ext != null)
accs.AddRange(ext);
}
return accs;
}
public override bool StoreUserAccount(UserAccount data)
{
// This remote connector refuses to serve this method