aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/Library/LibraryManager.cs
diff options
context:
space:
mode:
authorLukePulverenti <luke.pulverenti@gmail.com>2013-03-02 21:47:04 -0500
committerLukePulverenti <luke.pulverenti@gmail.com>2013-03-02 21:47:04 -0500
commit0ea90ef7c62dcdbc68fb250b1066340401c9d450 (patch)
treebecb6c780a2964a442fedae12087053584e00d8b /MediaBrowser.Server.Implementations/Library/LibraryManager.cs
parent71fe785c6de047a09f6f585fd407332e73415f0e (diff)
added IServerEntryPoint to replace plugin.initialize
Diffstat (limited to 'MediaBrowser.Server.Implementations/Library/LibraryManager.cs')
-rw-r--r--MediaBrowser.Server.Implementations/Library/LibraryManager.cs5
1 files changed, 0 insertions, 5 deletions
diff --git a/MediaBrowser.Server.Implementations/Library/LibraryManager.cs b/MediaBrowser.Server.Implementations/Library/LibraryManager.cs
index 18108842f..ba54b5d2b 100644
--- a/MediaBrowser.Server.Implementations/Library/LibraryManager.cs
+++ b/MediaBrowser.Server.Implementations/Library/LibraryManager.cs
@@ -287,11 +287,6 @@ namespace MediaBrowser.Server.Implementations.Library
/// <exception cref="System.InvalidOperationException">Cannot create the root folder until plugins have loaded</exception>
public AggregateFolder CreateRootFolder()
{
- if (Kernel.Plugins == null)
- {
- throw new InvalidOperationException("Cannot create the root folder until plugins have loaded");
- }
-
var rootFolderPath = Kernel.ApplicationPaths.RootFolderPath;
var rootFolder = Kernel.ItemRepository.RetrieveItem(rootFolderPath.GetMBId(typeof(AggregateFolder))) as AggregateFolder ?? (AggregateFolder)ResolvePath(rootFolderPath);