Removed all static state tracking from job provider.

This commit is contained in:
kay.one 2011-10-23 14:53:24 -07:00
parent c23e736cc6
commit 6828f099bc
6 changed files with 53 additions and 51 deletions

View file

@ -30,7 +30,7 @@ namespace NzbDrone.Web.Controllers
public ActionResult Jobs()
{
ViewData["Queue"] = JobProvider.Queue.Select(c => new JobQueueItemModel {
ViewData["Queue"] = _jobProvider.Queue.Select(c => new JobQueueItemModel {
Name = c.JobType.Name,
TargetId = c.TargetId,
SecondaryTargetId = c.SecondaryTargetId