Remove unnecessary parameters

This commit is contained in:
Manuel Thalmann 2024-03-23 01:45:14 +01:00
parent b95499730d
commit c3ce9c0ba9
2 changed files with 0 additions and 3 deletions

View file

@ -84,7 +84,6 @@ function Enable-UACNextLogin([Context] $context) {
@( @(
". `"$PSScriptRoot/AutoLogin.ps1`"", ". `"$PSScriptRoot/AutoLogin.ps1`"",
" $autoLoginTrigger", " $autoLoginTrigger",
" '$contextScript'",
" '$preparedUsernameProperty'", " '$preparedUsernameProperty'",
" '$preparedPasswordProperty'")), " '$preparedPasswordProperty'")),
[System.Tuple]::Create( [System.Tuple]::Create(
@ -93,7 +92,6 @@ function Enable-UACNextLogin([Context] $context) {
@( @(
". `"$PSScriptRoot/UACDisabler.ps1`"", ". `"$PSScriptRoot/UACDisabler.ps1`"",
" $uacDisablerTrigger", " $uacDisablerTrigger",
" '$contextScript'",
" '$autoLoginName'", " '$autoLoginName'",
" '$uacDisablerName'", " '$uacDisablerName'",
" '$autoLoginTriggerProperty'", " '$autoLoginTriggerProperty'",

View file

@ -1,7 +1,6 @@
#!/bin/pwsh #!/bin/pwsh
param ( param (
[int]$EventID, [int]$EventID,
[string]$ContextScriptPath,
[string]$AutoLoginTaskName, [string]$AutoLoginTaskName,
[string]$UACDisablerTaskName, [string]$UACDisablerTaskName,
[string]$AutoLoginTriggerProperty, [string]$AutoLoginTriggerProperty,