diff options
author | Sean Dague | 2008-07-23 22:14:29 +0000 |
---|---|---|
committer | Sean Dague | 2008-07-23 22:14:29 +0000 |
commit | cf317f5c3352f066fd61a0fa5de19c93947be22c (patch) | |
tree | 2decd9652f6270789713f98b2ac550395b125c08 /OpenSim/Data/SQLite/SQLiteRegionData.cs | |
parent | add primitems migration for nhibernate (diff) | |
download | opensim-SC-cf317f5c3352f066fd61a0fa5de19c93947be22c.zip opensim-SC-cf317f5c3352f066fd61a0fa5de19c93947be22c.tar.gz opensim-SC-cf317f5c3352f066fd61a0fa5de19c93947be22c.tar.bz2 opensim-SC-cf317f5c3352f066fd61a0fa5de19c93947be22c.tar.xz |
refactor TaskInventoryItem Mask -> Permissions to be consistant with how things
are stored in the db.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/SQLite/SQLiteRegionData.cs | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/OpenSim/Data/SQLite/SQLiteRegionData.cs b/OpenSim/Data/SQLite/SQLiteRegionData.cs index 0f9323b..f780d1d 100644 --- a/OpenSim/Data/SQLite/SQLiteRegionData.cs +++ b/OpenSim/Data/SQLite/SQLiteRegionData.cs | |||
@@ -1014,11 +1014,11 @@ namespace OpenSim.Data.SQLite | |||
1014 | taskItem.LastOwnerID = new LLUUID((String)row["lastOwnerID"]); | 1014 | taskItem.LastOwnerID = new LLUUID((String)row["lastOwnerID"]); |
1015 | taskItem.GroupID = new LLUUID((String)row["groupID"]); | 1015 | taskItem.GroupID = new LLUUID((String)row["groupID"]); |
1016 | 1016 | ||
1017 | taskItem.NextOwnerMask = Convert.ToUInt32(row["nextPermissions"]); | 1017 | taskItem.NextPermissions = Convert.ToUInt32(row["nextPermissions"]); |
1018 | taskItem.OwnerMask = Convert.ToUInt32(row["currentPermissions"]); | 1018 | taskItem.CurrentPermissions = Convert.ToUInt32(row["currentPermissions"]); |
1019 | taskItem.BaseMask = Convert.ToUInt32(row["basePermissions"]); | 1019 | taskItem.BasePermissions = Convert.ToUInt32(row["basePermissions"]); |
1020 | taskItem.EveryoneMask = Convert.ToUInt32(row["everyonePermissions"]); | 1020 | taskItem.EveryonePermissions = Convert.ToUInt32(row["everyonePermissions"]); |
1021 | taskItem.GroupMask = Convert.ToUInt32(row["groupPermissions"]); | 1021 | taskItem.GroupPermissions = Convert.ToUInt32(row["groupPermissions"]); |
1022 | taskItem.Flags = Convert.ToUInt32(row["flags"]); | 1022 | taskItem.Flags = Convert.ToUInt32(row["flags"]); |
1023 | 1023 | ||
1024 | return taskItem; | 1024 | return taskItem; |
@@ -1254,11 +1254,11 @@ namespace OpenSim.Data.SQLite | |||
1254 | row["ownerID"] = taskItem.OwnerID; | 1254 | row["ownerID"] = taskItem.OwnerID; |
1255 | row["lastOwnerID"] = taskItem.LastOwnerID; | 1255 | row["lastOwnerID"] = taskItem.LastOwnerID; |
1256 | row["groupID"] = taskItem.GroupID; | 1256 | row["groupID"] = taskItem.GroupID; |
1257 | row["nextPermissions"] = taskItem.NextOwnerMask; | 1257 | row["nextPermissions"] = taskItem.NextPermissions; |
1258 | row["currentPermissions"] = taskItem.OwnerMask; | 1258 | row["currentPermissions"] = taskItem.CurrentPermissions; |
1259 | row["basePermissions"] = taskItem.BaseMask; | 1259 | row["basePermissions"] = taskItem.BasePermissions; |
1260 | row["everyonePermissions"] = taskItem.EveryoneMask; | 1260 | row["everyonePermissions"] = taskItem.EveryonePermissions; |
1261 | row["groupPermissions"] = taskItem.GroupMask; | 1261 | row["groupPermissions"] = taskItem.GroupPermissions; |
1262 | row["flags"] = taskItem.Flags; | 1262 | row["flags"] = taskItem.Flags; |
1263 | } | 1263 | } |
1264 | 1264 | ||