* removed always true if

afrisby
lbsa71 2007-12-27 21:06:44 +00:00
parent d82ed9a8c5
commit d508d77122
1 changed files with 12 additions and 15 deletions

View File

@ -65,7 +65,7 @@ namespace OpenSim.Framework.Communications
if (typeInterface != null) if (typeInterface != null)
{ {
IInventoryData plug = IInventoryData plug =
(IInventoryData) Activator.CreateInstance(pluginAssembly.GetType(pluginType.ToString())); (IInventoryData)Activator.CreateInstance(pluginAssembly.GetType(pluginType.ToString()));
plug.Initialise(); plug.Initialise();
m_plugins.Add(plug.getName(), plug); m_plugins.Add(plug.getName(), plug);
MainLog.Instance.Verbose("AGENTINVENTORY", "Added IInventoryData Interface"); MainLog.Instance.Verbose("AGENTINVENTORY", "Added IInventoryData Interface");
@ -106,11 +106,8 @@ namespace OpenSim.Framework.Communications
} }
} }
if (null == rootFolder) MainLog.Instance.Warn(
{ "INVENTORY", "Could not find a root folder belonging to user with ID " + userID);
MainLog.Instance.Warn(
"INVENTORY", "Could not find a root folder belonging to user with ID " + userID);
}
return inventoryList; return inventoryList;
} }