1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-26 22:46:53 -04:00

New: Loads of Backend Updates to Clients and Indexers

This commit is contained in:
Qstick
2019-06-13 23:54:25 -04:00
parent c48838e5b6
commit 8a9e2dc90d
345 changed files with 5859 additions and 2669 deletions
@@ -1,4 +1,4 @@
using System;
using System;
using System.Linq;
using System.Collections.Generic;
using NzbDrone.Core.Datastore;
@@ -30,12 +30,12 @@ namespace NzbDrone.Core.NetImport.ImportExclusions
public bool IsMovieExcluded(int tmdbid)
{
return Query(q => q.Where(ex => ex.TmdbId == tmdbid).Any());
return Query.Where(ex => ex.TmdbId == tmdbid).Any();
}
public ImportExclusion GetByTmdbid(int tmdbid)
{
return Query(q => q.Where(ex => ex.TmdbId == tmdbid).First());
return Query.Where(ex => ex.TmdbId == tmdbid).First();
}
}
}