Cleaned up some code, fixed broken build.

pull/2/head
Keivan Beigi 13 years ago
parent e90a3ae9de
commit 2dd2dd6d0d

@ -1,12 +1,7 @@
using System; using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection; using System.Reflection;
using System.Threading;
using NLog; using NLog;
using Ninject; using Ninject;
using NzbDrone.Model;
namespace NzbDrone namespace NzbDrone
{ {

@ -1,9 +1,6 @@
using System; using System;
using System.Diagnostics;
using System.Net; using System.Net;
using System.Reflection;
using System.ServiceProcess; using System.ServiceProcess;
using System.Threading;
using NLog; using NLog;
using Ninject; using Ninject;
using NzbDrone.Providers; using NzbDrone.Providers;

@ -1,11 +1,5 @@
using System; using NLog;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using NLog;
using Ninject; using Ninject;
using NzbDrone.Model;
using NzbDrone.Providers; using NzbDrone.Providers;
namespace NzbDrone namespace NzbDrone
@ -51,7 +45,6 @@ namespace NzbDrone
_kernel.Get<ConfigProvider>().ConfigureNlog(); _kernel.Get<ConfigProvider>().ConfigureNlog();
_kernel.Get<ConfigProvider>().CreateDefaultConfigFile(); _kernel.Get<ConfigProvider>().CreateDefaultConfigFile();
Logger.Info("Start-up Path:'{0}'", _kernel.Get<EnviromentProvider>().ApplicationPath); Logger.Info("Start-up Path:'{0}'", _kernel.Get<EnviromentProvider>().ApplicationPath);
Thread.CurrentThread.Name = "Host";
} }
} }
} }

@ -1,7 +1,5 @@
using System; using System;
using System.Diagnostics; using System.Diagnostics;
using System.Reflection;
using NLog;
namespace NzbDrone.Providers namespace NzbDrone.Providers
{ {

@ -120,7 +120,7 @@ namespace NzbDrone.Providers
if (e.Data.Contains(" NzbDrone.")) if (e.Data.Contains(" NzbDrone."))
{ {
System.Console.WriteLine(e.Data); Console.WriteLine(e.Data);
return; return;
} }

@ -103,7 +103,7 @@ namespace NzbDrone.Providers
private static void AppDomainException(object excepion) private static void AppDomainException(object excepion)
{ {
System.Console.WriteLine("EPIC FAIL: {0}", excepion); Console.WriteLine("EPIC FAIL: {0}", excepion);
Logger.Fatal("EPIC FAIL: {0}", excepion); Logger.Fatal("EPIC FAIL: {0}", excepion);
#if RELEASE #if RELEASE

@ -1,9 +1,6 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Diagnostics;
using System.Linq; using System.Linq;
using System.Text;
using System.Threading;
using NLog; using NLog;
using NzbDrone.Model; using NzbDrone.Model;
using NzbDrone.Providers; using NzbDrone.Providers;

Loading…
Cancel
Save