diff options
Diffstat (limited to 'OpenSim/ApplicationPlugins/Rest/Inventory/RestAppearanceServices.cs')
-rw-r--r-- | OpenSim/ApplicationPlugins/Rest/Inventory/RestAppearanceServices.cs | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/OpenSim/ApplicationPlugins/Rest/Inventory/RestAppearanceServices.cs b/OpenSim/ApplicationPlugins/Rest/Inventory/RestAppearanceServices.cs index 667cf57..fad0438 100644 --- a/OpenSim/ApplicationPlugins/Rest/Inventory/RestAppearanceServices.cs +++ b/OpenSim/ApplicationPlugins/Rest/Inventory/RestAppearanceServices.cs | |||
@@ -55,16 +55,6 @@ namespace OpenSim.ApplicationPlugins.Rest.Inventory | |||
55 | Rest.Log.InfoFormat("{0} User appearance services initializing", MsgId); | 55 | Rest.Log.InfoFormat("{0} User appearance services initializing", MsgId); |
56 | Rest.Log.InfoFormat("{0} Using REST Implementation Version {1}", MsgId, Rest.Version); | 56 | Rest.Log.InfoFormat("{0} Using REST Implementation Version {1}", MsgId, Rest.Version); |
57 | 57 | ||
58 | // This is better than a null reference. | ||
59 | |||
60 | if (Rest.AvatarServices == null) | ||
61 | throw new Exception(String.Format("{0} OpenSim inventory services are not available", | ||
62 | MsgId)); | ||
63 | |||
64 | if (Rest.UserServices == null) | ||
65 | throw new Exception(String.Format("{0} OpenSim user profile services are not available", | ||
66 | MsgId)); | ||
67 | |||
68 | // If a relative path was specified for the handler's domain, | 58 | // If a relative path was specified for the handler's domain, |
69 | // add the standard prefix to make it absolute, e.g. /admin | 59 | // add the standard prefix to make it absolute, e.g. /admin |
70 | 60 | ||