mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 20:55:43 +08:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user