diff options
author | Justin Clark-Casey (justincc) | 2011-07-18 01:35:00 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-07-18 01:35:00 +0100 |
commit | bdd340b9fc9c7935e4c6e3062759d49ffb92c871 (patch) | |
tree | 3728f6058b0d02ce3e1050efaeb5f23b8884baae /OpenSim/Data/SQLite/SQLiteAuthenticationData.cs | |
parent | refactor: group all the undo/redo code in SOP into one place for easier code ... (diff) | |
parent | refactor: Pull up Assembly of the SQLite classes as a protected property, so ... (diff) | |
download | opensim-SC_OLD-bdd340b9fc9c7935e4c6e3062759d49ffb92c871.zip opensim-SC_OLD-bdd340b9fc9c7935e4c6e3062759d49ffb92c871.tar.gz opensim-SC_OLD-bdd340b9fc9c7935e4c6e3062759d49ffb92c871.tar.bz2 opensim-SC_OLD-bdd340b9fc9c7935e4c6e3062759d49ffb92c871.tar.xz |
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
Diffstat (limited to '')
-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; |