[TASK] Use PHP_OS constant instead off php_uname('s') 25/58125/2
authorWouter Wolters <typo3@wouterwolters.nl>
Sun, 2 Sep 2018 11:11:02 +0000 (13:11 +0200)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Sun, 2 Sep 2018 11:50:31 +0000 (13:50 +0200)
Resolves: #86085
Releases: master
Change-Id: Ida3e389e0d0a1df713aaffcb8ab56756c1454279
Reviewed-on: https://review.typo3.org/58125
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/backend/Classes/Backend/ToolbarItems/SystemInformationToolbarItem.php

index 4b7883c..d0dfa7a 100644 (file)
@@ -357,7 +357,7 @@ class SystemInformationToolbarItem implements ToolbarItemInterface
         }
         $this->systemInformation[] = [
             'title' => 'LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:toolbarItems.sysinfo.operatingsystem',
-            'value' => php_uname('s') . ' ' . php_uname('r'),
+            'value' => PHP_OS . ' ' . php_uname('r'),
             'iconIdentifier' => 'information-os-' . $icon
         ];
     }