Skip to content

Commit

Permalink
Fixes issue #3
Browse files Browse the repository at this point in the history
  • Loading branch information
ryannewington committed Aug 17, 2017
1 parent f6f80d5 commit e806b32
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/Lithnet.IdleLogoff/Settings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -184,14 +184,6 @@ public static bool IsSettingFromPolicy(string name)
return false;
}

private static object GetSetting(string ValueName)
{
object value = null;

value = SettingsKeyReadOnly.GetValue(ValueName, null);
return value;
}

private static void SaveSetting(string ValueName, object value, RegistryValueKind valuetype)
{
SettingsKeyWriteable.SetValue(ValueName, value, valuetype);
Expand Down Expand Up @@ -237,7 +229,7 @@ public static bool Debug
object value = null;
bool status = false;

value = GetSetting("Debug");
value = GetPolicyOrSetting("Debug");
if (value != null)
{
try
Expand Down

0 comments on commit e806b32

Please sign in to comment.