Offline IM: moved the Data and MySQL bits to the corresponding places in core, so that it will be easier to plugin a SQLite backend, if anyone is interested in doing that.

This commit is contained in:
Diva Canto
2013-02-19 06:37:20 -08:00
parent 9e460f2af8
commit 46e182dbf5
6 changed files with 5 additions and 13 deletions

View File

@@ -29,7 +29,7 @@ using System.Collections.Generic;
using OpenSim.Data;
using OpenMetaverse;
namespace OpenSim.OfflineIM
namespace OpenSim.Data
{
public class OfflineIMData
{

View File

@@ -36,16 +36,10 @@ using OpenSim.Data.MySQL;
using OpenMetaverse;
using MySql.Data.MySqlClient;
namespace OpenSim.OfflineIM
namespace OpenSim.Data.MySQL
{
public class MySQLOfflineIMData : MySQLGenericTableHandler<OfflineIMData>, IOfflineIMData
{
protected override Assembly Assembly
{
// WARNING! Moving migrations to this assembly!!!
get { return GetType().Assembly; }
}
public MySQLOfflineIMData(string connectionString, string realm)
: base(connectionString, realm, "IM_Store")
{