From 0d51c22620315f125ddbd3fe501eb93f318038d8 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Thu, 23 Apr 2009 18:57:39 +0000 Subject: * Allow interested user data plugins to store temporary user profiles * Database and the OGS1 plugins are not interested and hence ignore these calls --- OpenSim/Framework/Communications/UserManagerBase.cs | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'OpenSim/Framework/Communications/UserManagerBase.cs') diff --git a/OpenSim/Framework/Communications/UserManagerBase.cs b/OpenSim/Framework/Communications/UserManagerBase.cs index b6a7362..133f810 100644 --- a/OpenSim/Framework/Communications/UserManagerBase.cs +++ b/OpenSim/Framework/Communications/UserManagerBase.cs @@ -88,9 +88,16 @@ namespace OpenSim.Framework.Communications m_plugins.AddRange(DataPluginFactory.LoadDataPlugins(provider, connect)); } - #region Get UserProfile - - // see IUserService + #region UserProfile + + public virtual void AddTemporaryUserProfile(UserProfileData userProfile) + { + foreach (IUserDataPlugin plugin in m_plugins) + { + plugin.AddTemporaryUserProfile(userProfile); + } + } + public virtual UserProfileData GetUserProfile(string fname, string lname) { foreach (IUserDataPlugin plugin in m_plugins) -- cgit v1.1