New: NzbDrone service to automatically report errors and episode parse issues.

This commit is contained in:
kay.one 2012-02-04 22:34:36 -08:00
commit 174f765ec9
140 changed files with 10774 additions and 1694 deletions

View file

@ -70,9 +70,7 @@ namespace NzbDrone.Common
{
try
{
var currentIdentity = WindowsIdentity.GetCurrent();
var principal = new WindowsPrincipal(currentIdentity);
var principal = new WindowsPrincipal(WindowsIdentity.GetCurrent());
return principal.IsInRole(WindowsBuiltInRole.Administrator);
}
catch(Exception ex)