mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 02:26:55 -07:00
Tidy
This commit is contained in:
parent
7a6ee7e98d
commit
6c4b5e44c9
2 changed files with 1 additions and 10 deletions
|
@ -166,7 +166,6 @@ namespace PlexRequests.UI
|
|||
|
||||
private void ConfigureContainer(IKernel container)
|
||||
{
|
||||
|
||||
var loc = ServiceLocator.Instance;
|
||||
loc.SetContainer(container);
|
||||
}
|
||||
|
|
|
@ -26,13 +26,7 @@
|
|||
#endregion
|
||||
using System;
|
||||
|
||||
using MediatR;
|
||||
|
||||
using Nancy.TinyIoc;
|
||||
|
||||
using Ninject;
|
||||
using Ninject.Extensions.Conventions;
|
||||
using Ninject.Modules;
|
||||
using Ninject.Planning.Bindings.Resolvers;
|
||||
|
||||
using NLog;
|
||||
|
@ -59,9 +53,7 @@ namespace PlexRequests.UI
|
|||
|
||||
kernel.Components.Add<IBindingResolver, ContravariantBindingResolver>();
|
||||
|
||||
|
||||
|
||||
app.UseNancy(options => options.Bootstrapper = new Bootstrapper(kernel));
|
||||
app.UseNancy(options => options.Bootstrapper = new Bootstrapper(kernel));
|
||||
var scheduler = new Scheduler();
|
||||
scheduler.StartScheduler();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue