Fixed: Don't run recommendations if Sqlite < 3.9

Fixes #5833
pull/5839/head
Qstick 4 years ago
parent 1b36b512d7
commit c892b827af

@ -315,6 +315,11 @@ namespace NzbDrone.Core.Movies
{ {
var recommendations = new List<int>(); var recommendations = new List<int>();
if (_database.Version < new Version("3.9.0"))
{
return recommendations;
}
using (var conn = _database.OpenConnection()) using (var conn = _database.OpenConnection())
{ {
recommendations = conn.Query<int>(@" recommendations = conn.Query<int>(@"

Loading…
Cancel
Save