aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/NHibernate/NHibernateUserData.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2009-02-20 14:36:53 +0000
committerJustin Clarke Casey2009-02-20 14:36:53 +0000
commitacf112ac40602fa1852f49a99fdafef5dfef0b78 (patch)
treedf6503eb5ca6f466de23034c506a906409be9b7f /OpenSim/Data/NHibernate/NHibernateUserData.cs
parent* Consistently lock part.TaskInventory as pointed out in http://opensimulator... (diff)
downloadopensim-SC-acf112ac40602fa1852f49a99fdafef5dfef0b78.zip
opensim-SC-acf112ac40602fa1852f49a99fdafef5dfef0b78.tar.gz
opensim-SC-acf112ac40602fa1852f49a99fdafef5dfef0b78.tar.bz2
opensim-SC-acf112ac40602fa1852f49a99fdafef5dfef0b78.tar.xz
* Apply http://opensimulator.org/mantis/view.php?id=3195
* Access NHibernate Manager as read-only property rather than public field * Thanks Tommil
Diffstat (limited to 'OpenSim/Data/NHibernate/NHibernateUserData.cs')
-rw-r--r--OpenSim/Data/NHibernate/NHibernateUserData.cs9
1 files changed, 8 insertions, 1 deletions
diff --git a/OpenSim/Data/NHibernate/NHibernateUserData.cs b/OpenSim/Data/NHibernate/NHibernateUserData.cs
index 8aa4aa2..7a6ef88 100644
--- a/OpenSim/Data/NHibernate/NHibernateUserData.cs
+++ b/OpenSim/Data/NHibernate/NHibernateUserData.cs
@@ -42,7 +42,14 @@ namespace OpenSim.Data.NHibernate
42 { 42 {
43 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); 43 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
44 44
45 public NHibernateManager manager; 45 private NHibernateManager manager;
46 public NHibernateManager Manager
47 {
48 get
49 {
50 return manager;
51 }
52 }
46 53
47 public override void Initialise() 54 public override void Initialise()
48 { 55 {