aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/Library/LibraryHelpers.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2013-12-05 11:50:21 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2013-12-05 11:50:21 -0500
commit55a776427b97bec48a70a4b4f403b52935b620ea (patch)
tree5fc0e1feaee36df2116a4842d3eb9d27c491bbae /MediaBrowser.Api/Library/LibraryHelpers.cs
parent9e84a712ae3da9eada815e790160a17153b76d37 (diff)
Removed unused properties from BaseItem.
Diffstat (limited to 'MediaBrowser.Api/Library/LibraryHelpers.cs')
-rw-r--r--MediaBrowser.Api/Library/LibraryHelpers.cs5
1 files changed, 0 insertions, 5 deletions
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
/// <exception cref="System.IO.DirectoryNotFoundException">The path does not exist.</exception>
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.");