mirror of
https://github.com/Sonarr/Sonarr.git
synced 2025-01-10 23:29:53 +02:00
Updated subsonic to latest code
This commit is contained in:
parent
ff75d0c555
commit
e56a529b9c
@ -37,7 +37,6 @@ public static IRepository GetEmptyRepository(bool enableLogging)
|
|||||||
if (enableLogging)
|
if (enableLogging)
|
||||||
{
|
{
|
||||||
provider.Log = new NlogWriter();
|
provider.Log = new NlogWriter();
|
||||||
provider.LogParams = true;
|
|
||||||
}
|
}
|
||||||
return new SimpleRepository(provider, SimpleRepositoryOptions.RunMigrations);
|
return new SimpleRepository(provider, SimpleRepositoryOptions.RunMigrations);
|
||||||
}
|
}
|
||||||
|
@ -55,8 +55,7 @@ public static void BindKernel()
|
|||||||
//dbProvider.ExecuteQuery(new QueryCommand("VACUUM", dbProvider));
|
//dbProvider.ExecuteQuery(new QueryCommand("VACUUM", dbProvider));
|
||||||
|
|
||||||
dbProvider.Log = new NlogWriter();
|
dbProvider.Log = new NlogWriter();
|
||||||
dbProvider.LogParams = true;
|
|
||||||
|
|
||||||
_kernel.Bind<ISeriesProvider>().To<SeriesProvider>().InSingletonScope();
|
_kernel.Bind<ISeriesProvider>().To<SeriesProvider>().InSingletonScope();
|
||||||
_kernel.Bind<ISeasonProvider>().To<SeasonProvider>();
|
_kernel.Bind<ISeasonProvider>().To<SeasonProvider>();
|
||||||
_kernel.Bind<IEpisodeProvider>().To<EpisodeProvider>();
|
_kernel.Bind<IEpisodeProvider>().To<EpisodeProvider>();
|
||||||
|
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user