Implement avatar picker queries

This commit is contained in:
Melanie
2009-12-31 02:26:00 +00:00
parent 99ad7aac7f
commit 01f6aee020
4 changed files with 53 additions and 3 deletions

View File

@@ -168,7 +168,17 @@ namespace OpenSim.Services.UserAccountService
public List<UserAccount> GetUserAccounts(UUID scopeID, string query)
{
return null;
UserAccountData[] d = m_Database.GetUsers(scopeID, query);
if (d == null)
return new List<UserAccount>();
List<UserAccount> ret = new List<UserAccount>();
foreach (UserAccountData data in d)
ret.Add(MakeUserAccount(data));
return ret;
}
}
}