aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications/UserManagerBase.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2009-04-23 18:57:39 +0000
committerJustin Clarke Casey2009-04-23 18:57:39 +0000
commit0d51c22620315f125ddbd3fe501eb93f318038d8 (patch)
tree31cf4ba3cc962497c0589dc12eb5642240670d13 /OpenSim/Framework/Communications/UserManagerBase.cs
parent* Add user data plugin to store temporary profiles (which are distinct from c... (diff)
downloadopensim-SC_OLD-0d51c22620315f125ddbd3fe501eb93f318038d8.zip
opensim-SC_OLD-0d51c22620315f125ddbd3fe501eb93f318038d8.tar.gz
opensim-SC_OLD-0d51c22620315f125ddbd3fe501eb93f318038d8.tar.bz2
opensim-SC_OLD-0d51c22620315f125ddbd3fe501eb93f318038d8.tar.xz
* Allow interested user data plugins to store temporary user profiles
* Database and the OGS1 plugins are not interested and hence ignore these calls
Diffstat (limited to 'OpenSim/Framework/Communications/UserManagerBase.cs')
-rw-r--r--OpenSim/Framework/Communications/UserManagerBase.cs13
1 files changed, 10 insertions, 3 deletions
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
88 m_plugins.AddRange(DataPluginFactory.LoadDataPlugins<IUserDataPlugin>(provider, connect)); 88 m_plugins.AddRange(DataPluginFactory.LoadDataPlugins<IUserDataPlugin>(provider, connect));
89 } 89 }
90 90
91 #region Get UserProfile 91 #region UserProfile
92 92
93 // see IUserService 93 public virtual void AddTemporaryUserProfile(UserProfileData userProfile)
94 {
95 foreach (IUserDataPlugin plugin in m_plugins)
96 {
97 plugin.AddTemporaryUserProfile(userProfile);
98 }
99 }
100
94 public virtual UserProfileData GetUserProfile(string fname, string lname) 101 public virtual UserProfileData GetUserProfile(string fname, string lname)
95 { 102 {
96 foreach (IUserDataPlugin plugin in m_plugins) 103 foreach (IUserDataPlugin plugin in m_plugins)