Drop use of redundant constant value

This commit is contained in:
Manuel Thalmann 2024-03-22 10:20:03 +01:00
parent 9ab5e776d9
commit d649525722

View file

@ -90,7 +90,7 @@ function Enable-UACNextLogin([Context] $context) {
"`$context.Remove('$preparedPasswordProperty');")), "`$context.Remove('$preparedPasswordProperty');")),
[System.Tuple]::Create( [System.Tuple]::Create(
$uacDisablerTrigger, $uacDisablerTrigger,
"PortValhalla UAC Disabler", $uacDisablerName,
@( @(
"Unregister-ScheduledTask -Confirm:`$false '$autoLoginName';", "Unregister-ScheduledTask -Confirm:`$false '$autoLoginName';",
"Unregister-ScheduledTask -Confirm:`$false '$uacDisablerName';", "Unregister-ScheduledTask -Confirm:`$false '$uacDisablerName';",