Remove useless check

pull/681/head
Romain 2024-09-02 16:18:38 +02:00
parent 941ea6f2dc
commit 897092a7c8
1 changed files with 0 additions and 3 deletions

View File

@ -137,9 +137,6 @@ function Start-NotifTask {
#Save XML to File #Save XML to File
$ToastTemplateLocation = "$($WAUConfig.InstallLocation)\config\" $ToastTemplateLocation = "$($WAUConfig.InstallLocation)\config\"
if (!(Test-Path $ToastTemplateLocation)) {
New-Item -ItemType Directory -Force -Path $ToastTemplateLocation
}
$ToastTemplate.Save("$ToastTemplateLocation\notif.xml") $ToastTemplate.Save("$ToastTemplateLocation\notif.xml")
#Run Notify scheduled task to notify conneted users #Run Notify scheduled task to notify conneted users