aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/NHibernate/NHibernateUserData.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Data/NHibernate/NHibernateUserData.cs8
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Data/NHibernate/NHibernateUserData.cs b/OpenSim/Data/NHibernate/NHibernateUserData.cs
index 9d9aec9..bceae7c 100644
--- a/OpenSim/Data/NHibernate/NHibernateUserData.cs
+++ b/OpenSim/Data/NHibernate/NHibernateUserData.cs
@@ -53,6 +53,12 @@ namespace OpenSim.Data.NHibernate
53 private ISessionFactory factory; 53 private ISessionFactory factory;
54 private ISession session; 54 private ISession session;
55 55
56 public override void Initialise()
57 {
58 m_log.Info("[NHibernateUserData]: " + Name + " cannot be default-initialized!");
59 throw new PluginNotInitialisedException (Name);
60 }
61
56 public override void Initialise(string connect) 62 public override void Initialise(string connect)
57 { 63 {
58 char[] split = {';'}; 64 char[] split = {';'};
@@ -320,7 +326,7 @@ namespace OpenSim.Data.NHibernate
320 get { return "0.1"; } 326 get { return "0.1"; }
321 } 327 }
322 328
323 public void Dispose() 329 public override void Dispose()
324 { 330 {
325 331
326 } 332 }