mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-27 12:33:00 +02:00
minor cleanup
This commit is contained in:
@@ -156,7 +156,7 @@ namespace NzbDrone.Core.Providers
|
|||||||
_diskProvider.CreateDirectory(newFile.DirectoryName);
|
_diskProvider.CreateDirectory(newFile.DirectoryName);
|
||||||
|
|
||||||
//Do the rename
|
//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);
|
_diskProvider.MoveFile(episodeFile.Path, newFile.FullName);
|
||||||
|
|
||||||
//Update the filename in the DB
|
//Update the filename in the DB
|
||||||
|
@@ -31,7 +31,7 @@ namespace NzbDrone.Core.Providers.Fakes
|
|||||||
fakeNotification.Status = ProgressNotificationStatus.InProgress;
|
fakeNotification.Status = ProgressNotificationStatus.InProgress;
|
||||||
fakeNotification2.CurrentMessage = DateTime.UtcNow.ToString();
|
fakeNotification2.CurrentMessage = DateTime.UtcNow.ToString();
|
||||||
fakeNotification.CurrentMessage = DateTime.Now.ToString();
|
fakeNotification.CurrentMessage = DateTime.Now.ToString();
|
||||||
return new List<ProgressNotification> {fakeNotification};
|
return new List<ProgressNotification> { fakeNotification };
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -45,19 +45,5 @@ namespace NzbDrone.Core.Providers.Fakes
|
|||||||
_basicNotifications.Add(notification.Id, notification);
|
_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);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -74,9 +74,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
@section Scripts{
|
@section Scripts{
|
||||||
<script src="/Scripts/MicrosoftAjax.js" type="text/javascript"></script>
|
<script src="/Scripts/settingsForm.js" type="text/javascript"></script>
|
||||||
<script src="/Scripts/MicrosoftMvcValidation.js" type="text/javascript"></script>
|
|
||||||
<script src="../../Scripts/settingsForm.js" type="text/javascript"></script>
|
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var autoConfigureSabUrl = '@Url.Action("AutoConfigureSab", "Settings")';
|
var autoConfigureSabUrl = '@Url.Action("AutoConfigureSab", "Settings")';
|
||||||
|
Reference in New Issue
Block a user