aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/NHibernate/NHibernateAssetData.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Data/NHibernate/NHibernateAssetData.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Data/NHibernate/NHibernateAssetData.cs b/OpenSim/Data/NHibernate/NHibernateAssetData.cs
index 8f4877d..95595db 100644
--- a/OpenSim/Data/NHibernate/NHibernateAssetData.cs
+++ b/OpenSim/Data/NHibernate/NHibernateAssetData.cs
@@ -64,7 +64,7 @@ namespace OpenSim.Data.NHibernate
64 64
65 private void Save(AssetBase asset) 65 private void Save(AssetBase asset)
66 { 66 {
67 AssetBase temp = (AssetBase)manager.Get(typeof(AssetBase), asset.Metadata.FullID); 67 AssetBase temp = (AssetBase)manager.Get(typeof(AssetBase), asset.FullID);
68 if (temp == null) 68 if (temp == null)
69 { 69 {
70 manager.Insert(asset); 70 manager.Insert(asset);
@@ -73,13 +73,13 @@ namespace OpenSim.Data.NHibernate
73 73
74 override public void CreateAsset(AssetBase asset) 74 override public void CreateAsset(AssetBase asset)
75 { 75 {
76 m_log.InfoFormat("[NHIBERNATE] inserting asset {0}", asset.Metadata.FullID); 76 m_log.InfoFormat("[NHIBERNATE] inserting asset {0}", asset.FullID);
77 Save(asset); 77 Save(asset);
78 } 78 }
79 79
80 override public void UpdateAsset(AssetBase asset) 80 override public void UpdateAsset(AssetBase asset)
81 { 81 {
82 m_log.InfoFormat("[NHIBERNATE] updating asset {0}", asset.Metadata.FullID); 82 m_log.InfoFormat("[NHIBERNATE] updating asset {0}", asset.FullID);
83 manager.Update(asset); 83 manager.Update(asset);
84 } 84 }
85 85