diff options
author | Justin Clarke Casey | 2009-02-20 14:36:53 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2009-02-20 14:36:53 +0000 |
commit | acf112ac40602fa1852f49a99fdafef5dfef0b78 (patch) | |
tree | df6503eb5ca6f466de23034c506a906409be9b7f /OpenSim/Data/NHibernate/NHibernateInventoryData.cs | |
parent | * Consistently lock part.TaskInventory as pointed out in http://opensimulator... (diff) | |
download | opensim-SC_OLD-acf112ac40602fa1852f49a99fdafef5dfef0b78.zip opensim-SC_OLD-acf112ac40602fa1852f49a99fdafef5dfef0b78.tar.gz opensim-SC_OLD-acf112ac40602fa1852f49a99fdafef5dfef0b78.tar.bz2 opensim-SC_OLD-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/NHibernateInventoryData.cs')
-rw-r--r-- | OpenSim/Data/NHibernate/NHibernateInventoryData.cs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/OpenSim/Data/NHibernate/NHibernateInventoryData.cs b/OpenSim/Data/NHibernate/NHibernateInventoryData.cs index 3e04417..612ab59 100644 --- a/OpenSim/Data/NHibernate/NHibernateInventoryData.cs +++ b/OpenSim/Data/NHibernate/NHibernateInventoryData.cs | |||
@@ -40,7 +40,14 @@ namespace OpenSim.Data.NHibernate | |||
40 | { | 40 | { |
41 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | 41 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
42 | 42 | ||
43 | public NHibernateManager manager; | 43 | private NHibernateManager manager; |
44 | public NHibernateManager Manager | ||
45 | { | ||
46 | get | ||
47 | { | ||
48 | return manager; | ||
49 | } | ||
50 | } | ||
44 | 51 | ||
45 | /// <summary> | 52 | /// <summary> |
46 | /// The plugin being loaded | 53 | /// The plugin being loaded |