diff --git a/NzbDrone.Core/Providers/DiskScanProvider.cs b/NzbDrone.Core/Providers/DiskScanProvider.cs index 7885a3ba0..456d7349e 100644 --- a/NzbDrone.Core/Providers/DiskScanProvider.cs +++ b/NzbDrone.Core/Providers/DiskScanProvider.cs @@ -156,7 +156,7 @@ namespace NzbDrone.Core.Providers _diskProvider.CreateDirectory(newFile.DirectoryName); //Do the rename - Logger.Debug("Moving file [{0}] > [1]", episodeFile.Path, newFile.FullName); + Logger.Debug("Moving file [{0}] > [{1}]", episodeFile.Path, newFile.FullName); _diskProvider.MoveFile(episodeFile.Path, newFile.FullName); //Update the filename in the DB diff --git a/NzbDrone.Core/Providers/Fakes/FakeNotificationProvider.cs b/NzbDrone.Core/Providers/Fakes/FakeNotificationProvider.cs index bbdb92dd1..a6d6f6539 100644 --- a/NzbDrone.Core/Providers/Fakes/FakeNotificationProvider.cs +++ b/NzbDrone.Core/Providers/Fakes/FakeNotificationProvider.cs @@ -31,7 +31,7 @@ namespace NzbDrone.Core.Providers.Fakes fakeNotification.Status = ProgressNotificationStatus.InProgress; fakeNotification2.CurrentMessage = DateTime.UtcNow.ToString(); fakeNotification.CurrentMessage = DateTime.Now.ToString(); - return new List {fakeNotification}; + return new List { fakeNotification }; } } @@ -45,19 +45,5 @@ namespace NzbDrone.Core.Providers.Fakes _basicNotifications.Add(notification.Id, notification); } - public void Dismiss(Guid notificationId) - { - lock (_lock) - { - if (_basicNotifications.ContainsKey(notificationId)) - { - _basicNotifications.Remove(notificationId); - } - else if (_progressNotification.ContainsKey(notificationId)) - { - _progressNotification.Remove(notificationId); - } - } - } } } \ No newline at end of file diff --git a/NzbDrone.Web/Views/Settings/Sabnzbd.cshtml b/NzbDrone.Web/Views/Settings/Sabnzbd.cshtml index 70eabe608..002e5ab3e 100644 --- a/NzbDrone.Web/Views/Settings/Sabnzbd.cshtml +++ b/NzbDrone.Web/Views/Settings/Sabnzbd.cshtml @@ -74,9 +74,7 @@ } @section Scripts{ - - - +