Update WorkContextModule.cs

This commit is contained in:
jtkech
2015-12-25 03:23:50 +01:00
parent 433c087136
commit 842e0eda97

View File

@@ -19,10 +19,6 @@ namespace Orchard.Environment {
.As<WorkContext>()
.InstancePerMatchingLifetimeScope("work");
builder.RegisterType<WorkContextProperty<HttpContextBase>>()
.As<WorkContextProperty<HttpContextBase>>()
.InstancePerMatchingLifetimeScope("work");
builder.RegisterGeneric(typeof(WorkValues<>))
.InstancePerMatchingLifetimeScope("work");