diff options
Diffstat (limited to 'OpenSim/Data/SQLite/SQLiteAuthenticationData.cs')
-rw-r--r-- | OpenSim/Data/SQLite/SQLiteAuthenticationData.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Data/SQLite/SQLiteAuthenticationData.cs b/OpenSim/Data/SQLite/SQLiteAuthenticationData.cs index c3b65bb..f51aa28 100644 --- a/OpenSim/Data/SQLite/SQLiteAuthenticationData.cs +++ b/OpenSim/Data/SQLite/SQLiteAuthenticationData.cs | |||
@@ -53,6 +53,11 @@ namespace OpenSim.Data.SQLite | |||
53 | protected static SqliteConnection m_Connection; | 53 | protected static SqliteConnection m_Connection; |
54 | private static bool m_initialized = false; | 54 | private static bool m_initialized = false; |
55 | 55 | ||
56 | protected virtual Assembly Assembly | ||
57 | { | ||
58 | get { return GetType().Assembly; } | ||
59 | } | ||
60 | |||
56 | public SQLiteAuthenticationData(string connectionString, string realm) | 61 | public SQLiteAuthenticationData(string connectionString, string realm) |
57 | : base(connectionString) | 62 | : base(connectionString) |
58 | { | 63 | { |
@@ -63,7 +68,7 @@ namespace OpenSim.Data.SQLite | |||
63 | m_Connection = new SqliteConnection(connectionString); | 68 | m_Connection = new SqliteConnection(connectionString); |
64 | m_Connection.Open(); | 69 | m_Connection.Open(); |
65 | 70 | ||
66 | Migration m = new Migration(m_Connection, GetType().Assembly, "AuthStore"); | 71 | Migration m = new Migration(m_Connection, Assembly, "AuthStore"); |
67 | m.Update(); | 72 | m.Update(); |
68 | 73 | ||
69 | m_initialized = true; | 74 | m_initialized = true; |