From 08c0b7e66ec734ec1142825181ea8dc46bb5c2df Mon Sep 17 00:00:00 2001 From: Paul Durivage Date: Thu, 19 Jun 2014 16:24:27 -0500 Subject: [PATCH] Remove commented out lines --- library/windows/win_user.ps1 | 5 ----- 1 file changed, 5 deletions(-) diff --git a/library/windows/win_user.ps1 b/library/windows/win_user.ps1 index a6f1971cd7..003579104d 100644 --- a/library/windows/win_user.ps1 +++ b/library/windows/win_user.ps1 @@ -61,8 +61,6 @@ If (-not $params.password.GetType) Fail-Json $result "missing required arguments: password" } -$extra_args = $params "extra_args" "" - If ($params.state) { $state = $params.state.ToString().ToLower() If (($state -ne 'present') -and ($state -ne 'absent')) { @@ -77,9 +75,6 @@ $username = Get-Attr $params "name" $password = Get-Attr $params "password" $user_obj = Get-User $username -if (-not $user_obj) { - Fail-Json $result "Could not find user: $username" -} if ($state -eq 'present') { # Add or update user