DownloadAllowed logic moved, using proper validation

This commit is contained in:
Mark McDowall 2013-09-20 00:49:36 -07:00
commit a40ad82fa7
5 changed files with 13 additions and 13 deletions

View file

@ -1,4 +1,7 @@
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text.RegularExpressions;
using NzbDrone.Common.EnsureThat.Resources;
using NzbDrone.Common.EnvironmentInfo;
@ -73,7 +76,6 @@ namespace NzbDrone.Common.EnsureThat
return param;
}
[DebuggerStepThrough]
public static Param<string> IsRelativePath(this Param<string> param)
{
@ -94,8 +96,6 @@ namespace NzbDrone.Common.EnsureThat
return param;
}
[DebuggerStepThrough]
public static Param<string> IsValidPath(this Param<string> param)
{