mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Fixing project build
--HG-- branch : 1.x
This commit is contained in:
@@ -93,7 +93,7 @@ namespace Orchard.Specs.Bindings {
|
||||
var shellSettings = new ShellSettings {
|
||||
Name = shellName,
|
||||
RequestUrlHost = hostName,
|
||||
State = new TenantState("Uninitialized"),
|
||||
State = TenantState.Uninitialized,
|
||||
};
|
||||
using (var environment = MvcApplication.CreateStandaloneEnvironment("Default")) {
|
||||
environment.Resolve<IShellSettingsManager>().SaveSettings(shellSettings);
|
||||
|
@@ -51,7 +51,7 @@ namespace Orchard.Specs.Hosting.Orchard.Web {
|
||||
if (settings == null) {
|
||||
settings = new ShellSettings {
|
||||
Name = name,
|
||||
State = new TenantState("Uninitialized")
|
||||
State = TenantState.Uninitialized
|
||||
};
|
||||
}
|
||||
|
||||
|
@@ -155,7 +155,7 @@ namespace Orchard.Setup.Services {
|
||||
// components will exist entirely in isolation - no crossover between the safemode container currently in effect
|
||||
|
||||
// must mark state as Running - otherwise standalone enviro is created "for setup"
|
||||
shellSettings.State = new TenantState("Running");
|
||||
shellSettings.State = TenantState.Running;
|
||||
using (var environment = _orchardHost.CreateStandaloneEnvironment(shellSettings)) {
|
||||
try {
|
||||
executionId = CreateTenantData(context, environment);
|
||||
|
Reference in New Issue
Block a user