fixed disk scan scheduler.

This commit is contained in:
kay.one
2013-05-12 19:52:55 -07:00
parent 42849d3276
commit 687f8d9384
23 changed files with 140 additions and 142 deletions
+1 -7
View File
@@ -8,12 +8,6 @@ namespace NzbDrone.Core.Indexers.Newznab
{
public class Newznab : IndexerWithSetting<NewznabSettings>
{
private readonly IJsonSerializer _jsonSerializer;
public Newznab()
{
_jsonSerializer = new JsonSerializer();
}
public override IEnumerable<IndexerDefinition> DefaultDefinitions
@@ -54,7 +48,7 @@ namespace NzbDrone.Core.Indexers.Newznab
private string GetSettings(string url)
{
return _jsonSerializer.Serialize(new NewznabSettings { Url = url });
return Json.Serialize(new NewznabSettings { Url = url });
}
public override IEnumerable<string> RecentFeed