diff options
Diffstat (limited to 'OpenSim/Grid/AssetServer/RestService.cs')
-rw-r--r-- | OpenSim/Grid/AssetServer/RestService.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/Grid/AssetServer/RestService.cs b/OpenSim/Grid/AssetServer/RestService.cs index 98f86f1..372f5f8 100644 --- a/OpenSim/Grid/AssetServer/RestService.cs +++ b/OpenSim/Grid/AssetServer/RestService.cs | |||
@@ -136,9 +136,8 @@ namespace OpenSim.Grid.AssetServer | |||
136 | XmlSerializer xs = new XmlSerializer(typeof (AssetBase)); | 136 | XmlSerializer xs = new XmlSerializer(typeof (AssetBase)); |
137 | AssetBase asset = (AssetBase) xs.Deserialize(request); | 137 | AssetBase asset = (AssetBase) xs.Deserialize(request); |
138 | 138 | ||
139 | m_log.InfoFormat("[REST]: StoreAndCommitAsset {0}", asset.FullID); | 139 | m_log.InfoFormat("[REST]: Creating asset {0}", asset.FullID); |
140 | m_assetProvider.CreateAsset(asset); | 140 | m_assetProvider.CreateAsset(asset); |
141 | m_assetProvider.CommitAssets(); | ||
142 | 141 | ||
143 | return new byte[] {}; | 142 | return new byte[] {}; |
144 | } | 143 | } |