mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43:33 -07:00
DownloadAllowed logic moved, using proper validation
This commit is contained in:
parent
689f27bee6
commit
a40ad82fa7
5 changed files with 13 additions and 13 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue