From 6bc263052d2b60abfd9023aed0640a37655b6e87 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Thu, 20 Jun 2013 12:44:24 -0400 Subject: move child definitions to db --- MediaBrowser.ServerApplication/ApplicationHost.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'MediaBrowser.ServerApplication') diff --git a/MediaBrowser.ServerApplication/ApplicationHost.cs b/MediaBrowser.ServerApplication/ApplicationHost.cs index 0df0d36f9..f50705834 100644 --- a/MediaBrowser.ServerApplication/ApplicationHost.cs +++ b/MediaBrowser.ServerApplication/ApplicationHost.cs @@ -109,7 +109,7 @@ namespace MediaBrowser.ServerApplication return "http://+:" + ServerConfigurationManager.Configuration.HttpServerPortNumber + "/" + WebApplicationName + "/"; } } - + /// /// Gets the configuration manager. /// @@ -359,6 +359,7 @@ namespace MediaBrowser.ServerApplication BaseItem.LibraryManager = LibraryManager; BaseItem.ProviderManager = ProviderManager; BaseItem.LocalizationManager = LocalizationManager; + BaseItem.ItemRepository = ItemRepository; User.XmlSerializer = XmlSerializer; User.UserManager = UserManager; LocalizedStrings.ApplicationPaths = ApplicationPaths; @@ -504,7 +505,7 @@ namespace MediaBrowser.ServerApplication // Include composable parts in the Providers assembly yield return typeof(ImagesByNameProvider).Assembly; - + // Common implementations yield return typeof(TaskManager).Assembly; -- cgit v1.2.3