From 557567dcf8cd950afbee7d8e60e1148068031612 Mon Sep 17 00:00:00 2001
From: Justin Clarke Casey
Date: Tue, 9 Dec 2008 16:16:16 +0000
Subject: * minor: remove some old logging messages
---
.../Environment/Modules/World/Permissions/PermissionsModule.cs | 4 ----
OpenSim/Region/Environment/Scenes/Scene.Inventory.cs | 6 ++++--
2 files changed, 4 insertions(+), 6 deletions(-)
(limited to 'OpenSim/Region/Environment')
diff --git a/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs b/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs
index d486da4..7297450 100644
--- a/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs
+++ b/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs
@@ -1355,8 +1355,6 @@ namespace OpenSim.Region.Environment.Modules.World.Permissions
///
private bool CanCreateObjectInventory(int invType, UUID objectID, UUID userID)
{
- m_log.Debug("[PERMISSIONS]: CanCreateObjectInventory called");
-
DebugPermissionInformation(MethodInfo.GetCurrentMethod().Name);
if (m_bypassPermissions) return m_bypassPermissionsValue;
@@ -1375,8 +1373,6 @@ namespace OpenSim.Region.Environment.Modules.World.Permissions
///
private bool CanCreateUserInventory(int invType, UUID userID)
{
- m_log.Debug("[PERMISSIONS]: CanCreateAvatarInventory called");
-
DebugPermissionInformation(MethodInfo.GetCurrentMethod().Name);
if (m_bypassPermissions) return m_bypassPermissionsValue;
diff --git a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
index aa74e01..586fa43 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
@@ -169,22 +169,24 @@ namespace OpenSim.Region.Environment.Scenes
if (item != null)
{
- if ((InventoryType) item.InvType == InventoryType.Notecard)
+ if ((InventoryType)item.InvType == InventoryType.Notecard)
{
if (!Permissions.CanEditNotecard(itemID, UUID.Zero, remoteClient.AgentId))
{
remoteClient.SendAgentAlertMessage("Insufficient permissions to edit notecard", false);
return UUID.Zero;
}
+
remoteClient.SendAgentAlertMessage("Notecard saved", false);
}
- else if ((InventoryType) item.InvType == InventoryType.LSL)
+ else if ((InventoryType)item.InvType == InventoryType.LSL)
{
if (!Permissions.CanEditScript(itemID, UUID.Zero, remoteClient.AgentId))
{
remoteClient.SendAgentAlertMessage("Insufficient permissions to edit script", false);
return UUID.Zero;
}
+
remoteClient.SendAgentAlertMessage("Script saved", false);
}
--
cgit v1.1