mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 17:32:42 +08:00
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
This commit is contained in:
@@ -19,9 +19,6 @@ CREATE TABLE `GridUser` (
|
||||
COMMIT;
|
||||
|
||||
:VERSION 2 # --------------------------
|
||||
|
||||
BEGIN;
|
||||
|
||||
ALTER TABLE `GridUser` ADD COLUMN TOS CHAR(36);
|
||||
|
||||
COMMIT;
|
||||
|
||||
@@ -50,8 +50,6 @@ namespace OpenSim.Services.Interfaces
|
||||
public DateTime Login;
|
||||
public DateTime Logout;
|
||||
|
||||
public string TOS = string.Empty;
|
||||
|
||||
public GridUserInfo() {}
|
||||
|
||||
public GridUserInfo(Dictionary<string, object> kvp)
|
||||
@@ -80,11 +78,6 @@ namespace OpenSim.Services.Interfaces
|
||||
if (kvp.ContainsKey("Online"))
|
||||
Boolean.TryParse(kvp["Online"].ToString(), out Online);
|
||||
|
||||
if (kvp.ContainsKey("TOS"))
|
||||
TOS = kvp["TOS"].ToString();
|
||||
else
|
||||
TOS = string.Empty;
|
||||
|
||||
}
|
||||
|
||||
public Dictionary<string, object> ToKeyValuePairs()
|
||||
@@ -103,8 +96,6 @@ namespace OpenSim.Services.Interfaces
|
||||
result["Online"] = Online.ToString();
|
||||
result["Login"] = Login.ToString();
|
||||
result["Logout"] = Logout.ToString();
|
||||
|
||||
result["TOS"] = TOS;
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -70,8 +70,6 @@ namespace OpenSim.Services.UserAccountService
|
||||
info.Login = Util.ToDateTime(Convert.ToInt32(d.Data["Login"]));
|
||||
info.Logout = Util.ToDateTime(Convert.ToInt32(d.Data["Logout"]));
|
||||
|
||||
info.TOS = d.Data["TOS"];
|
||||
|
||||
return info;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user