From 55a776427b97bec48a70a4b4f403b52935b620ea Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Thu, 5 Dec 2013 11:50:21 -0500 Subject: Removed unused properties from BaseItem. --- MediaBrowser.Api/Library/LibraryHelpers.cs | 5 ----- 1 file changed, 5 deletions(-) (limited to 'MediaBrowser.Api/Library/LibraryHelpers.cs') diff --git a/MediaBrowser.Api/Library/LibraryHelpers.cs b/MediaBrowser.Api/Library/LibraryHelpers.cs index d16250ce9..fb986605c 100644 --- a/MediaBrowser.Api/Library/LibraryHelpers.cs +++ b/MediaBrowser.Api/Library/LibraryHelpers.cs @@ -60,11 +60,6 @@ namespace MediaBrowser.Api.Library /// The path does not exist. public static void AddMediaPath(IFileSystem fileSystem, string virtualFolderName, string path, User user, IServerApplicationPaths appPaths) { - if (!Path.IsPathRooted(path)) - { - throw new ArgumentException("The path is not valid."); - } - if (!Directory.Exists(path)) { throw new DirectoryNotFoundException("The path does not exist."); -- cgit v1.2.3