diff --git a/OpenSim/Data/MySQL/MySQLAssetData.cs b/OpenSim/Data/MySQL/MySQLAssetData.cs
index bdb1571814..08a8c6e456 100644
--- a/OpenSim/Data/MySQL/MySQLAssetData.cs
+++ b/OpenSim/Data/MySQL/MySQLAssetData.cs
@@ -78,10 +78,6 @@ namespace OpenSim.Data.MySQL
Assembly assem = GetType().Assembly;
Migration m = new Migration(_dbConnection.Connection, assem, "AssetStore");
- // TODO: After rev 6000, remove this. People should have
- // been rolled onto the new migration code by then.
- TestTables(m);
-
m.Update();
}
@@ -114,44 +110,6 @@ namespace OpenSim.Data.MySQL
#region IAssetProviderPlugin Members
- ///
- ///
- /// - Execute CreateAssetsTable.sql if oldVersion == null
- /// - do nothing if oldVersion != null
- ///
- ///
- ///
- // private void UpgradeAssetsTable(string oldVersion)
- // {
- // // null as the version, indicates that the table didn't exist
- // if (oldVersion == null)
- // {
- // m_log.Info("[ASSETS DB]: Creating new database tables");
- // _dbConnection.ExecuteResourceSql("CreateAssetsTable.sql");
- // return;
- // }
- // }
-
- ///
- /// Ensure that the assets related tables exists and are at the latest version
- ///
- ///
- private void TestTables(Migration m)
- {
- Dictionary tableList = new Dictionary();
-
- tableList["assets"] = null;
- _dbConnection.GetTableVersion(tableList);
-
- // if there is no table, return, migrations will handle it.
- if (tableList["assets"] == null)
- return;
-
- // if there is a table, and we don't have a migration, set it to 1
- if (m.Version == 0)
- m.Version = 1;
- }
-
///
/// Fetch Asset from database
///