|
|
|
@ -1,8 +1,4 @@
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Data;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using NzbDrone.Core.Datastore;
|
|
|
|
|
|
|
|
|
|
namespace NzbDrone.Core.Indexers
|
|
|
|
@ -14,13 +10,14 @@ namespace NzbDrone.Core.Indexers
|
|
|
|
|
|
|
|
|
|
public class NewznabRepository : BasicRepository<NewznabDefinition>, INewznabRepository
|
|
|
|
|
{
|
|
|
|
|
public NewznabRepository(IDatabase database) : base(database)
|
|
|
|
|
public NewznabRepository(IDatabase database)
|
|
|
|
|
: base(database)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public IEnumerable<NewznabDefinition> Enabled()
|
|
|
|
|
{
|
|
|
|
|
return Queryable().Where(n => n.Enabled);
|
|
|
|
|
return Queryable().Where(n => n.Enable);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|