* remove mono compiler warnings
parent
79bf2c8096
commit
47a693ff1a
|
@ -98,8 +98,6 @@ namespace OpenSim.Framework.Communications.Tests
|
||||||
public void TestCreateFolder()
|
public void TestCreateFolder()
|
||||||
{
|
{
|
||||||
TestCommunicationsManager commsManager = new TestCommunicationsManager();
|
TestCommunicationsManager commsManager = new TestCommunicationsManager();
|
||||||
|
|
||||||
IUserDataPlugin userDataPlugin = commsManager.UserDataPlugin;
|
|
||||||
IInventoryDataPlugin inventoryDataPlugin = commsManager.InventoryDataPlugin;
|
IInventoryDataPlugin inventoryDataPlugin = commsManager.InventoryDataPlugin;
|
||||||
|
|
||||||
CachedUserInfo userInfo = UserProfileTestUtils.CreateUserWithInventory(commsManager);
|
CachedUserInfo userInfo = UserProfileTestUtils.CreateUserWithInventory(commsManager);
|
||||||
|
@ -130,8 +128,6 @@ namespace OpenSim.Framework.Communications.Tests
|
||||||
public void TestUpdateFolder()
|
public void TestUpdateFolder()
|
||||||
{
|
{
|
||||||
TestCommunicationsManager commsManager = new TestCommunicationsManager();
|
TestCommunicationsManager commsManager = new TestCommunicationsManager();
|
||||||
|
|
||||||
IUserDataPlugin userDataPlugin = commsManager.UserDataPlugin;
|
|
||||||
IInventoryDataPlugin inventoryDataPlugin = commsManager.InventoryDataPlugin;
|
IInventoryDataPlugin inventoryDataPlugin = commsManager.InventoryDataPlugin;
|
||||||
|
|
||||||
CachedUserInfo userInfo = UserProfileTestUtils.CreateUserWithInventory(commsManager);
|
CachedUserInfo userInfo = UserProfileTestUtils.CreateUserWithInventory(commsManager);
|
||||||
|
@ -189,8 +185,6 @@ namespace OpenSim.Framework.Communications.Tests
|
||||||
public void TestMoveFolder()
|
public void TestMoveFolder()
|
||||||
{
|
{
|
||||||
TestCommunicationsManager commsManager = new TestCommunicationsManager();
|
TestCommunicationsManager commsManager = new TestCommunicationsManager();
|
||||||
|
|
||||||
IUserDataPlugin userDataPlugin = commsManager.UserDataPlugin;
|
|
||||||
IInventoryDataPlugin inventoryDataPlugin = commsManager.InventoryDataPlugin;
|
IInventoryDataPlugin inventoryDataPlugin = commsManager.InventoryDataPlugin;
|
||||||
|
|
||||||
CachedUserInfo userInfo = UserProfileTestUtils.CreateUserWithInventory(commsManager);
|
CachedUserInfo userInfo = UserProfileTestUtils.CreateUserWithInventory(commsManager);
|
||||||
|
@ -227,8 +221,6 @@ namespace OpenSim.Framework.Communications.Tests
|
||||||
//log4net.Config.XmlConfigurator.Configure();
|
//log4net.Config.XmlConfigurator.Configure();
|
||||||
|
|
||||||
TestCommunicationsManager commsManager = new TestCommunicationsManager();
|
TestCommunicationsManager commsManager = new TestCommunicationsManager();
|
||||||
|
|
||||||
IUserDataPlugin userDataPlugin = commsManager.UserDataPlugin;
|
|
||||||
IInventoryDataPlugin inventoryDataPlugin = commsManager.InventoryDataPlugin;
|
IInventoryDataPlugin inventoryDataPlugin = commsManager.InventoryDataPlugin;
|
||||||
|
|
||||||
CachedUserInfo userInfo = UserProfileTestUtils.CreateUserWithInventory(commsManager);
|
CachedUserInfo userInfo = UserProfileTestUtils.CreateUserWithInventory(commsManager);
|
||||||
|
|
|
@ -93,7 +93,7 @@ namespace OpenSim.Region.UserStatistics
|
||||||
{
|
{
|
||||||
if (m_scene.Count == 0)
|
if (m_scene.Count == 0)
|
||||||
{
|
{
|
||||||
IConfig startupConfig = config.Configs["Startup"];
|
//IConfig startupConfig = config.Configs["Startup"];
|
||||||
|
|
||||||
dbConn = new SqliteConnection("URI=file:LocalUserStatistics.db,version=3");
|
dbConn = new SqliteConnection("URI=file:LocalUserStatistics.db,version=3");
|
||||||
dbConn.Open();
|
dbConn.Open();
|
||||||
|
@ -159,7 +159,7 @@ namespace OpenSim.Region.UserStatistics
|
||||||
}
|
}
|
||||||
public Hashtable HandleUnknownCAPSRequest(Hashtable request)
|
public Hashtable HandleUnknownCAPSRequest(Hashtable request)
|
||||||
{
|
{
|
||||||
string regpath = request["uri"].ToString();
|
//string regpath = request["uri"].ToString();
|
||||||
int response_code = 200;
|
int response_code = 200;
|
||||||
string contenttype = "text/html";
|
string contenttype = "text/html";
|
||||||
UpdateUserStats(ParseViewerStats(request["body"].ToString(), UUID.Zero), dbConn);
|
UpdateUserStats(ParseViewerStats(request["body"].ToString(), UUID.Zero), dbConn);
|
||||||
|
|
Loading…
Reference in New Issue