aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Util.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/Util.cs')
-rw-r--r--OpenSim/Framework/Util.cs40
1 files changed, 0 insertions, 40 deletions
diff --git a/OpenSim/Framework/Util.cs b/OpenSim/Framework/Util.cs
index 28c818a..0f0aa47 100644
--- a/OpenSim/Framework/Util.cs
+++ b/OpenSim/Framework/Util.cs
@@ -733,46 +733,6 @@ namespace OpenSim.Framework
733 } 733 }
734 } 734 }
735 735
736/* 2008-08-28-tyre: Obsolete (see LocalLoginService UserLoginService)
737 public static string[] ParseStartLocationRequest(string startLocationRequest)
738 {
739 string[] returnstring = new string[4];
740 // format uri:RegionName&X&Y&Z
741 returnstring[0] = "last";
742 returnstring[1] = "127";
743 returnstring[2] = "127";
744 returnstring[3] = "0";
745 // This is the crappy way of doing it.
746
747 if (startLocationRequest.Contains(":") && startLocationRequest.Contains("&"))
748 {
749 //System.Console.WriteLine("StartLocationRequest Contains proper elements");
750
751 string[] splitstr = startLocationRequest.Split(':'); //,2,StringSplitOptions.RemoveEmptyEntries);
752
753 //System.Console.WriteLine("Found " + splitstr.GetLength(0) + " elements in 1st split result");
754
755 if (splitstr.GetLength(0) == 2)
756 {
757 string[] splitstr2 = splitstr[1].Split('&'); //, 4, StringSplitOptions.RemoveEmptyEntries);
758
759 //System.Console.WriteLine("Found " + splitstr2.GetLength(0) + " elements in 2nd split result");
760
761 int len = Math.Min(splitstr2.GetLength(0), 4);
762
763 for (int i = 0; i < 4; ++i)
764 {
765 if (len > i)
766 {
767 returnstring[i] = splitstr2[i];
768 }
769 }
770 }
771 }
772 return returnstring;
773 }
774*/
775
776 public static XmlRpcResponse XmlRpcCommand(string url, string methodName, params object[] args) 736 public static XmlRpcResponse XmlRpcCommand(string url, string methodName, params object[] args)
777 { 737 {
778 return SendXmlRpcCommand(url, methodName, args); 738 return SendXmlRpcCommand(url, methodName, args);