Skip to content

Commit

Permalink
Fixes #10311 (#10326)
Browse files Browse the repository at this point in the history
  • Loading branch information
ns8482e authored Feb 16, 2022
1 parent b2ce701 commit e484e36
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ public static OrchardCoreBuilder AddDataStorage(this OrchardCoreBuilder builder)
.ConfigureServices(services =>
{
services.AddScoped<IShellDescriptorManager, ShellDescriptorManager>();
services.AddScoped<IShellFeaturesManager, ShellFeaturesManager>();
services.AddScoped<IShellDescriptorFeaturesManager, ShellDescriptorFeaturesManager>();
});

return builder;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,8 @@ private static void AddExtensionServices(OrchardCoreBuilder builder)
builder.ConfigureServices(services =>
{
services.AddExtensionManager();
services.AddScoped<IShellFeaturesManager, ShellFeaturesManager>();
services.AddScoped<IShellDescriptorFeaturesManager, ShellDescriptorFeaturesManager>();
});
}

Expand Down

0 comments on commit e484e36

Please sign in to comment.