From 2294683f0747fd5691437ed4e10a73ae45c7650c Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Tue, 29 Dec 2009 13:39:21 -0800 Subject: [PATCH] Tighten up the IUserService interface again. No need for auth tokens at this level. --- OpenSim/Services/Connectors/User/UserServiceConnector.cs | 4 ++-- OpenSim/Services/Interfaces/IUserService.cs | 4 ++-- OpenSim/Services/UserService/UserService.cs | 7 +++---- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/OpenSim/Services/Connectors/User/UserServiceConnector.cs b/OpenSim/Services/Connectors/User/UserServiceConnector.cs index 2911e2f01d..0de8c1d1ca 100644 --- a/OpenSim/Services/Connectors/User/UserServiceConnector.cs +++ b/OpenSim/Services/Connectors/User/UserServiceConnector.cs @@ -96,12 +96,12 @@ namespace OpenSim.Services.Connectors return null; } - public bool SetUserAccount(UserAccount data, UUID principalID, string token) + public bool SetUserAccount(UserAccount data) { return false; } - public bool CreateUserAccount(UserAccount data, UUID principalID, string token) + public bool CreateUserAccount(UserAccount data) { return false; } diff --git a/OpenSim/Services/Interfaces/IUserService.cs b/OpenSim/Services/Interfaces/IUserService.cs index b6f8774a70..1089c6c859 100644 --- a/OpenSim/Services/Interfaces/IUserService.cs +++ b/OpenSim/Services/Interfaces/IUserService.cs @@ -97,9 +97,9 @@ namespace OpenSim.Services.Interfaces // Update all updatable fields // - bool SetUserAccount(UserAccount data, UUID PrincipalID, string token); + bool SetUserAccount(UserAccount data); // Creates a user data record - bool CreateUserAccount(UserAccount data, UUID PrincipalID, string token); + bool CreateUserAccount(UserAccount data); } } diff --git a/OpenSim/Services/UserService/UserService.cs b/OpenSim/Services/UserService/UserService.cs index 686ae20995..2e6f7dc3d0 100644 --- a/OpenSim/Services/UserService/UserService.cs +++ b/OpenSim/Services/UserService/UserService.cs @@ -57,18 +57,17 @@ namespace OpenSim.Services.UserAccountService return null; } - public bool SetUserAccount(UserAccount data, UUID principalID, string token) + public bool SetUserAccount(UserAccount data) { return false; } - public bool CreateUserAccount(UserAccount data, UUID principalID, string token) + public bool CreateUserAccount(UserAccount data) { return false; } - public List GetUserAccounts(UUID scopeID, - string query) + public List GetUserAccounts(UUID scopeID, string query) { return null; }