Cleaned up some code, fixed broken build.

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

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

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

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

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

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

@ -103,7 +103,7 @@ namespace NzbDrone.Providers
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);
#if RELEASE

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

Loading…
Cancel
Save