Cleaned up some code, fixed broken build.

This commit is contained in:
Keivan Beigi 2011-10-14 17:59:24 -07:00
parent e90a3ae9de
commit 2dd2dd6d0d
7 changed files with 3 additions and 23 deletions

View File

@ -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
{ {

View File

@ -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;

View File

@ -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";
} }
} }
} }

View File

@ -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
{ {

View File

@ -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;
} }

View File

@ -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

View File

@ -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;