From d2889e46e30f4a37e4a2d8505bb3456b35a0138e Mon Sep 17 00:00:00 2001 From: LorenzoFrediani-Laser Date: Thu, 16 Mar 2017 20:03:41 +0100 Subject: [PATCH] Changed UpgradeFrom1 to UpdateFrom1 on Migration (#7612) Fixes #7611 --- src/Orchard.Web/Modules/Orchard.ContentTypes/Migrations.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Orchard.Web/Modules/Orchard.ContentTypes/Migrations.cs b/src/Orchard.Web/Modules/Orchard.ContentTypes/Migrations.cs index 6d5592a70..7b345b49f 100644 --- a/src/Orchard.Web/Modules/Orchard.ContentTypes/Migrations.cs +++ b/src/Orchard.Web/Modules/Orchard.ContentTypes/Migrations.cs @@ -22,7 +22,7 @@ namespace Orchard.ContentTypes { return 1; } - public int UpgradeFrom1() { + public int UpdateFrom1() { foreach (var typeDefinition in _contentDefinitionManager.ListTypeDefinitions()) { if (typeDefinition.Settings.ContainsKey("ContentTypeSettings.Creatable") && Convert.ToBoolean(typeDefinition.Settings["ContentTypeSettings.Creatable"], CultureInfo.InvariantCulture)) { typeDefinition.Settings["ContentTypeSettings.Securable"] = "True";