aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/ApplicationPlugins/Rest/Inventory/RestInventoryServices.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/ApplicationPlugins/Rest/Inventory/RestInventoryServices.cs')
-rw-r--r--OpenSim/ApplicationPlugins/Rest/Inventory/RestInventoryServices.cs26
1 files changed, 13 insertions, 13 deletions
diff --git a/OpenSim/ApplicationPlugins/Rest/Inventory/RestInventoryServices.cs b/OpenSim/ApplicationPlugins/Rest/Inventory/RestInventoryServices.cs
index aa222bb..853b004 100644
--- a/OpenSim/ApplicationPlugins/Rest/Inventory/RestInventoryServices.cs
+++ b/OpenSim/ApplicationPlugins/Rest/Inventory/RestInventoryServices.cs
@@ -27,18 +27,18 @@
27 27
28using System; 28using System;
29using System.Collections.Generic; 29using System.Collections.Generic;
30using System.Drawing;
31using System.Globalization;
30using System.IO; 32using System.IO;
31using System.Threading; 33using System.Threading;
32using System.Xml;
33using System.Drawing;
34using System.Timers; 34using System.Timers;
35using OpenSim.Framework; 35using System.Xml;
36using OpenSim.Framework.Servers;
37using OpenSim.Framework.Communications;
38using OpenSim.Framework.Communications.Cache;
39using OpenMetaverse; 36using OpenMetaverse;
40using OpenMetaverse.Imaging; 37using OpenMetaverse.Imaging;
41using Nini.Config; 38using OpenSim.Framework;
39using OpenSim.Framework.Communications.Cache;
40using OpenSim.Framework.Servers;
41using Timer=System.Timers.Timer;
42 42
43namespace OpenSim.ApplicationPlugins.Rest.Inventory 43namespace OpenSim.ApplicationPlugins.Rest.Inventory
44{ 44{
@@ -1931,19 +1931,19 @@ namespace OpenSim.ApplicationPlugins.Rest.Inventory
1931 switch (ic.xml.Name) 1931 switch (ic.xml.Name)
1932 { 1932 {
1933 case "current": 1933 case "current":
1934 ic.CurrentPermissions = UInt32.Parse(ic.xml.Value, System.Globalization.NumberStyles.HexNumber); 1934 ic.CurrentPermissions = UInt32.Parse(ic.xml.Value, NumberStyles.HexNumber);
1935 break; 1935 break;
1936 case "next": 1936 case "next":
1937 ic.NextPermissions = UInt32.Parse(ic.xml.Value, System.Globalization.NumberStyles.HexNumber); 1937 ic.NextPermissions = UInt32.Parse(ic.xml.Value, NumberStyles.HexNumber);
1938 break; 1938 break;
1939 case "group": 1939 case "group":
1940 ic.GroupPermissions = UInt32.Parse(ic.xml.Value, System.Globalization.NumberStyles.HexNumber); 1940 ic.GroupPermissions = UInt32.Parse(ic.xml.Value, NumberStyles.HexNumber);
1941 break; 1941 break;
1942 case "everyone": 1942 case "everyone":
1943 ic.EveryOnePermissions = UInt32.Parse(ic.xml.Value, System.Globalization.NumberStyles.HexNumber); 1943 ic.EveryOnePermissions = UInt32.Parse(ic.xml.Value, NumberStyles.HexNumber);
1944 break; 1944 break;
1945 case "base": 1945 case "base":
1946 ic.BasePermissions = UInt32.Parse(ic.xml.Value, System.Globalization.NumberStyles.HexNumber); 1946 ic.BasePermissions = UInt32.Parse(ic.xml.Value, NumberStyles.HexNumber);
1947 break; 1947 break;
1948 default: 1948 default:
1949 Rest.Log.DebugFormat("{0} Permissions: invalid attribute {1}:{2}", 1949 Rest.Log.DebugFormat("{0} Permissions: invalid attribute {1}:{2}",
@@ -2176,7 +2176,7 @@ namespace OpenSim.ApplicationPlugins.Rest.Inventory
2176 internal UserProfileData userProfile = null; 2176 internal UserProfileData userProfile = null;
2177 internal InventoryFolderBase root = null; 2177 internal InventoryFolderBase root = null;
2178 internal bool timeout = false; 2178 internal bool timeout = false;
2179 internal System.Timers.Timer watchDog = new System.Timers.Timer(); 2179 internal Timer watchDog = new Timer();
2180 2180
2181 internal InventoryRequestData(OSHttpRequest request, OSHttpResponse response, string prefix) 2181 internal InventoryRequestData(OSHttpRequest request, OSHttpResponse response, string prefix)
2182 : base(request, response, prefix) 2182 : base(request, response, prefix)