From 2913bd7060477ea4c6a76db7695ad6ac9053ad9d Mon Sep 17 00:00:00 2001 From: Dmitry Shibanov Date: Fri, 8 Oct 2021 13:35:16 +0300 Subject: [PATCH] remove code duplicate for Get-PHPVersio (#4231) --- images/macos/software-report/SoftwareReport.Common.psm1 | 5 ----- 1 file changed, 5 deletions(-) diff --git a/images/macos/software-report/SoftwareReport.Common.psm1 b/images/macos/software-report/SoftwareReport.Common.psm1 index f429390dd..48e3218b8 100644 --- a/images/macos/software-report/SoftwareReport.Common.psm1 +++ b/images/macos/software-report/SoftwareReport.Common.psm1 @@ -151,11 +151,6 @@ function Build-OSInfoSection { return $output } -function Get-PHPVersion { - $PHPVersion = Run-Command "php --version" | Select-Object -First 1 | Take-Part -Part 0,1 - return $PHPVersion -} - function Get-MSBuildVersion { $msbuildVersion = msbuild -version | Select-Object -Last 1 $result = Select-String -Path (Get-Command msbuild).Source -Pattern "msbuild"