mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-07-16 22:20:44 +08:00
Removing duplicate recipe call
This commit is contained in:
parent
db92e1a803
commit
169543b26f
@ -137,7 +137,7 @@ namespace Orchard.Setup.Controllers {
|
|||||||
throw new ApplicationException("Unknown database type: " + model.DatabaseProvider);
|
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 {
|
var setupContext = new SetupContext {
|
||||||
SiteName = model.SiteName,
|
SiteName = model.SiteName,
|
||||||
AdminUsername = model.AdminUsername,
|
AdminUsername = model.AdminUsername,
|
||||||
|
Loading…
Reference in New Issue
Block a user