From 45c50998c23657764918649b8966f429674b0c92 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Thu, 27 Nov 2008 19:43:26 +0000 Subject: * Remove unused and largely unimplemented UpdateUserCurrentRegion() * please say if this causes you a problem --- OpenSim/Data/MSSQL/MSSQLUserData.cs | 11 ----------- OpenSim/Data/MySQL/MySQLUserData.cs | 5 ----- OpenSim/Data/NHibernate/NHibernateUserData.cs | 1 - OpenSim/Data/SQLite/SQLiteUserData.cs | 12 ------------ OpenSim/Data/UserDataBase.cs | 1 - 5 files changed, 30 deletions(-) (limited to 'OpenSim/Data') diff --git a/OpenSim/Data/MSSQL/MSSQLUserData.cs b/OpenSim/Data/MSSQL/MSSQLUserData.cs index 5185659..69fd862 100644 --- a/OpenSim/Data/MSSQL/MSSQLUserData.cs +++ b/OpenSim/Data/MSSQL/MSSQLUserData.cs @@ -741,17 +741,6 @@ namespace OpenSim.Data.MSSQL #region Other public methods /// - /// STUB ! Update current region - /// - /// avatar uuid - /// region uuid - /// region handle - override public void UpdateUserCurrentRegion(UUID avatarid, UUID regionuuid, ulong regionhandle) - { - //m_log.Info("[USER]: Stub UpdateUserCUrrentRegion called"); - } - - /// /// /// /// diff --git a/OpenSim/Data/MySQL/MySQLUserData.cs b/OpenSim/Data/MySQL/MySQLUserData.cs index f203a66..14d178b 100644 --- a/OpenSim/Data/MySQL/MySQLUserData.cs +++ b/OpenSim/Data/MySQL/MySQLUserData.cs @@ -409,11 +409,6 @@ namespace OpenSim.Data.MySQL #endregion - public override void UpdateUserCurrentRegion(UUID avatarid, UUID regionuuid, ulong regionhandle) - { - //m_log.Info("[USER DB]: Stub UpdateUserCUrrentRegion called"); - } - public override List GeneratePickerResults(UUID queryID, string query) { List returnlist = new List(); diff --git a/OpenSim/Data/NHibernate/NHibernateUserData.cs b/OpenSim/Data/NHibernate/NHibernateUserData.cs index 1bb2b14..3a22dc3 100644 --- a/OpenSim/Data/NHibernate/NHibernateUserData.cs +++ b/OpenSim/Data/NHibernate/NHibernateUserData.cs @@ -249,7 +249,6 @@ namespace OpenSim.Data.NHibernate } // TODO: actually implement these - public override void UpdateUserCurrentRegion(UUID avatarid, UUID regionuuid, ulong regionhandle) { return; } public override void StoreWebLoginKey(UUID agentID, UUID webLoginKey) { return; } public override void AddNewUserFriend(UUID friendlistowner, UUID friend, uint perms) { return; } public override void RemoveUserFriend(UUID friendlistowner, UUID friend) { return; } diff --git a/OpenSim/Data/SQLite/SQLiteUserData.cs b/OpenSim/Data/SQLite/SQLiteUserData.cs index b8f1a68..ebc58c1 100644 --- a/OpenSim/Data/SQLite/SQLiteUserData.cs +++ b/OpenSim/Data/SQLite/SQLiteUserData.cs @@ -358,18 +358,6 @@ namespace OpenSim.Data.SQLite #endregion /// - /// STUB, Update the user's current region - /// - /// UUID of the user - /// UUID of the region - /// region handle - /// DO NOTHING - override public void UpdateUserCurrentRegion(UUID avatarid, UUID regionuuid, ulong regionhandle) - { - //m_log.Info("[USER DB]: Stub UpdateUserCUrrentRegion called"); - } - - /// /// /// /// diff --git a/OpenSim/Data/UserDataBase.cs b/OpenSim/Data/UserDataBase.cs index c1b320b..eaad7ae 100644 --- a/OpenSim/Data/UserDataBase.cs +++ b/OpenSim/Data/UserDataBase.cs @@ -47,7 +47,6 @@ namespace OpenSim.Data public abstract void StoreWebLoginKey(UUID agentID, UUID webLoginKey); public abstract void AddNewUserProfile(UserProfileData user); public abstract bool UpdateUserProfile(UserProfileData user); - public abstract void UpdateUserCurrentRegion(UUID avatarid, UUID regionuuid, ulong regionhandle); public abstract void AddNewUserAgent(UserAgentData agent); public abstract void AddNewUserFriend(UUID friendlistowner, UUID friend, uint perms); public abstract void RemoveUserFriend(UUID friendlistowner, UUID friend); -- cgit v1.1