aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/UserAccountService/UserAccountService.cs
diff options
context:
space:
mode:
authorMelanie2009-12-31 02:26:00 +0000
committerMelanie2009-12-31 02:26:00 +0000
commit01f6aee020eddb46893cbfbcf3b1e114a85ac261 (patch)
tree6664f3d4aea41a2c8f6bab9b2645a2e10212edcc /OpenSim/Services/UserAccountService/UserAccountService.cs
parentImplement saving user account data (diff)
downloadopensim-SC_OLD-01f6aee020eddb46893cbfbcf3b1e114a85ac261.zip
opensim-SC_OLD-01f6aee020eddb46893cbfbcf3b1e114a85ac261.tar.gz
opensim-SC_OLD-01f6aee020eddb46893cbfbcf3b1e114a85ac261.tar.bz2
opensim-SC_OLD-01f6aee020eddb46893cbfbcf3b1e114a85ac261.tar.xz
Implement avatar picker queries
Diffstat (limited to '')
-rw-r--r--OpenSim/Services/UserAccountService/UserAccountService.cs12
1 files changed, 11 insertions, 1 deletions
diff --git a/OpenSim/Services/UserAccountService/UserAccountService.cs b/OpenSim/Services/UserAccountService/UserAccountService.cs
index 2954589..c14651d 100644
--- a/OpenSim/Services/UserAccountService/UserAccountService.cs
+++ b/OpenSim/Services/UserAccountService/UserAccountService.cs
@@ -168,7 +168,17 @@ namespace OpenSim.Services.UserAccountService
168 168
169 public List<UserAccount> GetUserAccounts(UUID scopeID, string query) 169 public List<UserAccount> GetUserAccounts(UUID scopeID, string query)
170 { 170 {
171 return null; 171 UserAccountData[] d = m_Database.GetUsers(scopeID, query);
172
173 if (d == null)
174 return new List<UserAccount>();
175
176 List<UserAccount> ret = new List<UserAccount>();
177
178 foreach (UserAccountData data in d)
179 ret.Add(MakeUserAccount(data));
180
181 return ret;
172 } 182 }
173 } 183 }
174} 184}