aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/Migration.cs
diff options
context:
space:
mode:
authorSean Dague2008-06-10 23:17:18 +0000
committerSean Dague2008-06-10 23:17:18 +0000
commitbe400d1bd07bf2f0fb7f555a1106f5931c23ddd8 (patch)
tree24d48a8fff379c745833aabca04c3029fdbef78f /OpenSim/Data/Migration.cs
parentupdate of migration code to be more sane on version (diff)
downloadopensim-SC_OLD-be400d1bd07bf2f0fb7f555a1106f5931c23ddd8.zip
opensim-SC_OLD-be400d1bd07bf2f0fb7f555a1106f5931c23ddd8.tar.gz
opensim-SC_OLD-be400d1bd07bf2f0fb7f555a1106f5931c23ddd8.tar.bz2
opensim-SC_OLD-be400d1bd07bf2f0fb7f555a1106f5931c23ddd8.tar.xz
I'm going to need the Version property to manage
migrating from the old to the new system. Silly legacy code.
Diffstat (limited to '')
-rw-r--r--OpenSim/Data/Migration.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Data/Migration.cs b/OpenSim/Data/Migration.cs
index fe4dfc4..83f4c3d 100644
--- a/OpenSim/Data/Migration.cs
+++ b/OpenSim/Data/Migration.cs
@@ -156,6 +156,12 @@ namespace OpenSim.Data
156 return max; 156 return max;
157 } 157 }
158 158
159 public int Version
160 {
161 get { return FindVersion(_type); }
162 set { UpdateVersion(_type, value); }
163 }
164
159 private int FindVersion(string type) 165 private int FindVersion(string type)
160 { 166 {
161 int version = 0; 167 int version = 0;