diff options
author | Justin Clark-Casey (justincc) | 2010-10-22 23:34:44 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2010-10-22 23:34:44 +0100 |
commit | a490b34b6e584119312bd1b9ee8c30c4b9f02c62 (patch) | |
tree | db3125aa52414dc0cf9a441027034667bc5e9635 /OpenSim/Services/Interfaces/IGridService.cs | |
parent | Revert "* remove some spurious debug info" (diff) | |
download | opensim-SC-a490b34b6e584119312bd1b9ee8c30c4b9f02c62.zip opensim-SC-a490b34b6e584119312bd1b9ee8c30c4b9f02c62.tar.gz opensim-SC-a490b34b6e584119312bd1b9ee8c30c4b9f02c62.tar.bz2 opensim-SC-a490b34b6e584119312bd1b9ee8c30c4b9f02c62.tar.xz |
Revert "* more url / hg cleanup"
This reverts commit 58f75fa19d9aea18283ecdbd44559efb81781c9d.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Services/Interfaces/IGridService.cs | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/OpenSim/Services/Interfaces/IGridService.cs b/OpenSim/Services/Interfaces/IGridService.cs index 6d3bff7..bf441e6 100644 --- a/OpenSim/Services/Interfaces/IGridService.cs +++ b/OpenSim/Services/Interfaces/IGridService.cs | |||
@@ -115,13 +115,7 @@ namespace OpenSim.Services.Interfaces | |||
115 | /// </summary> | 115 | /// </summary> |
116 | public string ServerURI | 116 | public string ServerURI |
117 | { | 117 | { |
118 | get { | 118 | get { return m_serverURI; } |
119 | if ( m_serverURI != string.Empty ) { | ||
120 | return m_serverURI; | ||
121 | } else { | ||
122 | return "http://" + m_externalHostName + ":" + m_httpPort + "/"; | ||
123 | } | ||
124 | } | ||
125 | set { | 119 | set { |
126 | if ( value.EndsWith("/") ) { | 120 | if ( value.EndsWith("/") ) { |
127 | m_serverURI = value; | 121 | m_serverURI = value; |
@@ -176,7 +170,6 @@ namespace OpenSim.Services.Interfaces | |||
176 | 170 | ||
177 | public GridRegion() | 171 | public GridRegion() |
178 | { | 172 | { |
179 | m_serverURI = string.Empty; | ||
180 | } | 173 | } |
181 | 174 | ||
182 | public GridRegion(int regionLocX, int regionLocY, IPEndPoint internalEndPoint, string externalUri) | 175 | public GridRegion(int regionLocX, int regionLocY, IPEndPoint internalEndPoint, string externalUri) |