mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 12:25:42 +08:00
Merge branch 'master' into careminster
Conflicts: OpenSim/Data/MySQL/MySQLSimulationData.cs OpenSim/Region/Framework/Scenes/EventManager.cs OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
This commit is contained in:
@@ -119,16 +119,14 @@ namespace OpenSim.Server.Handlers.Asset
|
||||
|
||||
if (asset == null || asset.Data.Length == 0)
|
||||
{
|
||||
MainConsole.Instance.Output("Asset not found");
|
||||
MainConsole.Instance.OutputFormat("Could not find asset with ID {0}", args[2]);
|
||||
return;
|
||||
}
|
||||
|
||||
m_AssetService.Delete(args[2]);
|
||||
|
||||
//MainConsole.Instance.Output("Asset deleted");
|
||||
// TODO: Implement this
|
||||
|
||||
MainConsole.Instance.Output("Asset deletion not supported by database");
|
||||
if (!m_AssetService.Delete(asset.ID))
|
||||
MainConsole.Instance.OutputFormat("ERROR: Could not delete asset {0} {1}", asset.ID, asset.Name);
|
||||
else
|
||||
MainConsole.Instance.OutputFormat("Deleted asset {0} {1}", asset.ID, asset.Name);
|
||||
}
|
||||
|
||||
void HandleDumpAsset(string module, string[] args)
|
||||
|
||||
Reference in New Issue
Block a user