UmbracoModule parameterless ctor removed.

More notes / fixme.
This commit is contained in:
Lars-Erik Aabech
2018-06-14 19:14:39 +02:00
parent a8c5cd425d
commit 9b1bd3be60
2 changed files with 24 additions and 25 deletions

View File

@@ -94,24 +94,6 @@ namespace Umbraco.Web
#endregion
// fixme - delete, just one usage in a test.
public UmbracoModule()
: this(
Current.Container.GetInstance<IUmbracoSettingsSection>(),
Current.Container.GetInstance<IGlobalSettings>(),
Current.Container.GetInstance<IUmbracoContextAccessor>(),
Current.Container.GetInstance<IPublishedSnapshotService>(),
Current.Container.GetInstance<IUserService>(),
Current.Container.GetInstance<UrlProviderCollection>(),
Current.Container.GetInstance<IRuntimeState>(),
Current.Container.GetInstance<ILogger>(),
Current.Container.GetInstance<PublishedRouter>(),
Current.Container.GetInstance<IUmbracoDatabaseFactory>(),
Current.Container.GetInstance<IVariationContextAccessor>()
)
{
}
public UmbracoModule(
IUmbracoSettingsSection umbracoSettings,
IGlobalSettings globalSettings,