diff options
author | Dr Scofield | 2009-03-27 12:49:27 +0000 |
---|---|---|
committer | Dr Scofield | 2009-03-27 12:49:27 +0000 |
commit | bf4d701cd5ae74dfc0d52feddee1614b93f5a569 (patch) | |
tree | 0e229ad86f200df427e66a530e4ecbaafc64558b /OpenSim/ApplicationPlugins/Rest/Inventory/RestAssetServices.cs | |
parent | Forgot to comment an unnecessary log message on my last commit. (diff) | |
download | opensim-SC-bf4d701cd5ae74dfc0d52feddee1614b93f5a569.zip opensim-SC-bf4d701cd5ae74dfc0d52feddee1614b93f5a569.tar.gz opensim-SC-bf4d701cd5ae74dfc0d52feddee1614b93f5a569.tar.bz2 opensim-SC-bf4d701cd5ae74dfc0d52feddee1614b93f5a569.tar.xz |
From: Alan Webb <alan_webb@us.ibm.com>
Fixed problem with REST services caused by changes to the OpenSim
core code base - the comms manager had been 'modularized'.
Also added additional debugging to RemoteAdmin interface.
Diffstat (limited to 'OpenSim/ApplicationPlugins/Rest/Inventory/RestAssetServices.cs')
-rw-r--r-- | OpenSim/ApplicationPlugins/Rest/Inventory/RestAssetServices.cs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/OpenSim/ApplicationPlugins/Rest/Inventory/RestAssetServices.cs b/OpenSim/ApplicationPlugins/Rest/Inventory/RestAssetServices.cs index 3475d32..043fca8 100644 --- a/OpenSim/ApplicationPlugins/Rest/Inventory/RestAssetServices.cs +++ b/OpenSim/ApplicationPlugins/Rest/Inventory/RestAssetServices.cs | |||
@@ -46,12 +46,6 @@ namespace OpenSim.ApplicationPlugins.Rest.Inventory | |||
46 | Rest.Log.InfoFormat("{0} Asset services initializing", MsgId); | 46 | Rest.Log.InfoFormat("{0} Asset services initializing", MsgId); |
47 | Rest.Log.InfoFormat("{0} Using REST Implementation Version {1}", MsgId, Rest.Version); | 47 | Rest.Log.InfoFormat("{0} Using REST Implementation Version {1}", MsgId, Rest.Version); |
48 | 48 | ||
49 | // This is better than a null reference. | ||
50 | |||
51 | if (Rest.AssetServices == null) | ||
52 | throw new Exception(String.Format("{0} OpenSim asset services are not available", | ||
53 | MsgId)); | ||
54 | |||
55 | // If the handler specifies a relative path for its domain | 49 | // If the handler specifies a relative path for its domain |
56 | // then we must add the standard absolute prefix, e.g. /admin | 50 | // then we must add the standard absolute prefix, e.g. /admin |
57 | 51 | ||