Removing duplicate recipe call

This commit is contained in:
Nicholas Mayne 2015-10-26 22:32:42 +00:00
parent db92e1a803
commit 169543b26f

View File

@ -137,7 +137,7 @@ namespace Orchard.Setup.Controllers {
throw new ApplicationException("Unknown database type: " + model.DatabaseProvider);
}
var recipe = _setupService.Recipes().GetRecipeByName(model.Recipe);
var recipe = recipes.GetRecipeByName(model.Recipe);
var setupContext = new SetupContext {
SiteName = model.SiteName,
AdminUsername = model.AdminUsername,