Merge branch 'refs/heads/1.10.x' into dev

# Conflicts:
#	src/Orchard/Data/Migration/AutomaticDataMigrations.cs
This commit is contained in:
Sebastien Ros
2016-10-17 14:40:54 -07:00
2 changed files with 4 additions and 2 deletions

View File

@@ -28,7 +28,6 @@ namespace Orchard.DesignerTools.Handlers {
base.GetItemMetadata(context);
var groupInfo = new GroupInfo(T("Shape Tracing"));
groupInfo.Id = "ShapeTracing";
context.Metadata.EditorGroupInfo.Add(groupInfo);
}

View File

@@ -80,7 +80,8 @@ namespace Orchard.Data.Migration {
/// <summary>
/// This ensures that the framework migrations have run for the distributed locking feature, as existing Orchard installations will not have the required tables when upgrading.
/// </summary>
private void EnsureDistributedLockSchemaExists() {
private void EnsureDistributedLockSchemaExists()
{
// Ensure the distributed lock record schema exists.
var schemaBuilder = new SchemaBuilder(_dataMigrationInterpreter);
var distributedLockSchemaBuilder = new DistributedLockSchemaBuilder(_shellSettings, schemaBuilder);
@@ -93,6 +94,8 @@ namespace Orchard.Data.Migration {
return;
}
distributedLockSchemaBuilder.CreateSchema();
distributedLockSchemaBuilder.CreateSchema();
_transactionManager.RequireNew();
}