diff options
Diffstat (limited to 'OpenSim/Data')
-rw-r--r-- | OpenSim/Data/RegionProfileData.cs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/OpenSim/Data/RegionProfileData.cs b/OpenSim/Data/RegionProfileData.cs index 26b65de..5476233 100644 --- a/OpenSim/Data/RegionProfileData.cs +++ b/OpenSim/Data/RegionProfileData.cs | |||
@@ -285,14 +285,6 @@ namespace OpenSim.Data | |||
285 | return RegionInfo.Create(UUID, regionName, regionLocX, regionLocY, serverIP, httpPort, serverPort, remotingPort); | 285 | return RegionInfo.Create(UUID, regionName, regionLocX, regionLocY, serverIP, httpPort, serverPort, remotingPort); |
286 | } | 286 | } |
287 | 287 | ||
288 | public static RegionProfileData FromRegionInfo( RegionInfo regionInfo ) | ||
289 | { | ||
290 | return Create(regionInfo.RegionID, regionInfo.RegionName, regionInfo.RegionLocX, | ||
291 | regionInfo.RegionLocY, regionInfo.ExternalHostName, | ||
292 | (uint) regionInfo.ExternalEndPoint.Port, regionInfo.HttpPort, regionInfo.RemotingPort, | ||
293 | regionInfo.ServerURI); | ||
294 | } | ||
295 | |||
296 | public static RegionProfileData Create(UUID regionID, string regionName, uint locX, uint locY, string externalHostName, uint regionPort, uint httpPort, uint remotingPort, string serverUri) | 288 | public static RegionProfileData Create(UUID regionID, string regionName, uint locX, uint locY, string externalHostName, uint regionPort, uint httpPort, uint remotingPort, string serverUri) |
297 | { | 289 | { |
298 | RegionProfileData regionProfile; | 290 | RegionProfileData regionProfile; |