Skip to content

Commit

Permalink
removed unneeded import
Browse files Browse the repository at this point in the history
  • Loading branch information
TollJulian committed Jun 28, 2022
1 parent 527feb2 commit 0feef63
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Files/powerEvents/Events/ErpService.Lifecycle.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ function AddPdfJob($files, $successful) {
$releasedFiles = @($files | Where-Object { $_._Extension -in $supportedPdfExtensions -and $_._ReleasedRevision -eq $true })
Write-Host "Found '$($releasedFiles.Count)' files which are valid to add a PDF job for!"
foreach ($file in $releasedFiles) {
Import-Module "C:\ProgramData\coolOrange\powerEvents\Modules\coolOrange.Queue.ADSKJobs.psm1"
Write-Host "Adding job 'Synchronize Properties' for file '$($file._Name)' to queue."
Add-VaultJob -Name "autodesk.vault.syncproperties" -Parameters @{
"FileVersionIds"=$file.Id;
Expand Down

0 comments on commit 0feef63

Please sign in to comment.