removes some obsolete code, ensures that UmbracoHelper is added to the container.

This commit is contained in:
Shannon
2015-12-21 17:50:00 +01:00
parent 2f5616a21c
commit c242383430
5 changed files with 4 additions and 50 deletions

View File

@@ -322,6 +322,7 @@ namespace Umbraco.Web
//no need to declare as per request, currently we manage it's lifetime as the singleton
container.Register<UmbracoContext>(factory => UmbracoContext.Current);
container.Register<UmbracoHelper>(new PerRequestLifeTime());
//Replace services:
container.Register<IEventMessagesFactory, RequestLifespanMessagesFactory>();