From 4ff4475d02a26805749897bc62feddcc21b1c5da Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Thu, 15 May 2008 18:42:27 +0000 Subject: remove my UserAppearance object, switch all code to use AvatarAppearance instead. --- OpenSim/Data/NHibernate/NHibernateUserData.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'OpenSim/Data/NHibernate') diff --git a/OpenSim/Data/NHibernate/NHibernateUserData.cs b/OpenSim/Data/NHibernate/NHibernateUserData.cs index 43d8c32..81af4d4 100644 --- a/OpenSim/Data/NHibernate/NHibernateUserData.cs +++ b/OpenSim/Data/NHibernate/NHibernateUserData.cs @@ -306,29 +306,29 @@ namespace OpenSim.Data.NHibernate /// Appearance /// TODO: stubs for now to get us to a compiling state gently - override public UserAppearance GetUserAppearance(LLUUID user) + override public AvatarAppearance GetUserAppearance(LLUUID user) { - UserAppearance appearance; + AvatarAppearance appearance; // TODO: I'm sure I'll have to do something silly here using (ISession session = factory.OpenSession()) { - appearance = session.Load(typeof(UserAppearance), user) as UserAppearance; + appearance = session.Load(typeof(AvatarAppearance), user) as AvatarAppearance; } return appearance; } private bool ExistsAppearance(LLUUID uuid) { - UserAppearance appearance; + AvatarAppearance appearance; using (ISession session = factory.OpenSession()) { - appearance = session.Load(typeof(UserAppearance), uuid) as UserAppearance; + appearance = session.Load(typeof(AvatarAppearance), uuid) as AvatarAppearance; } return (appearance == null) ? false : true; } - override public void UpdateUserAppearance(LLUUID user, UserAppearance appearance) + override public void UpdateUserAppearance(LLUUID user, AvatarAppearance appearance) { bool exists = ExistsAppearance(user); using (ISession session = factory.OpenSession()) -- cgit v1.1