diff options
author | Diva Canto | 2012-09-21 06:41:32 -0700 |
---|---|---|
committer | Diva Canto | 2012-09-21 06:41:32 -0700 |
commit | 5f97b3e1d9775a88c1d952f1d599254969a262d2 (patch) | |
tree | ba76e577fec864aade67fcfcd8f9000599d90739 /OpenSim/Services/HypergridService/HGAssetService.cs | |
parent | Improvement over last commit: refactor the asset permissions code, so that it... (diff) | |
download | opensim-SC-5f97b3e1d9775a88c1d952f1d599254969a262d2.zip opensim-SC-5f97b3e1d9775a88c1d952f1d599254969a262d2.tar.gz opensim-SC-5f97b3e1d9775a88c1d952f1d599254969a262d2.tar.bz2 opensim-SC-5f97b3e1d9775a88c1d952f1d599254969a262d2.tar.xz |
Minor: change the return value of unsuccessful posts to string.Empty.
Diffstat (limited to 'OpenSim/Services/HypergridService/HGAssetService.cs')
-rw-r--r-- | OpenSim/Services/HypergridService/HGAssetService.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Services/HypergridService/HGAssetService.cs b/OpenSim/Services/HypergridService/HGAssetService.cs index f1275a0..84dec8d 100644 --- a/OpenSim/Services/HypergridService/HGAssetService.cs +++ b/OpenSim/Services/HypergridService/HGAssetService.cs | |||
@@ -137,7 +137,7 @@ namespace OpenSim.Services.HypergridService | |||
137 | public override string Store(AssetBase asset) | 137 | public override string Store(AssetBase asset) |
138 | { | 138 | { |
139 | if (!m_AssetPerms.AllowedImport(asset.Type)) | 139 | if (!m_AssetPerms.AllowedImport(asset.Type)) |
140 | return UUID.Zero.ToString(); | 140 | return string.Empty; |
141 | 141 | ||
142 | return base.Store(asset); | 142 | return base.Store(asset); |
143 | } | 143 | } |