[BUGFIX] Decouple GeneralUtility::rmdir from Environment::isWindows() 31/58631/2
authorNicole Cordes <typo3@cordes.co>
Sun, 14 Oct 2018 19:12:42 +0000 (21:12 +0200)
committerBenni Mack <benni@typo3.org>
Sun, 28 Oct 2018 10:43:40 +0000 (11:43 +0100)
commit10d3b0bdd98cfba6a8fd2b5ac37f66f87f44b469
treed1b7fb8c91a81b4feed42bcabd705350ede1d695
parent95aeaf184a103e24398ed82727286343337ed206
[BUGFIX] Decouple GeneralUtility::rmdir from Environment::isWindows()

To be able to call rmdir without an initialized Environment instance,
the check if a Windows system is used, is decoupled. This allows to
call GeneralUtility::rmdir e.g. in typo3/testing-framework.

Resolves: #86655
Releases: master
Change-Id: Ica1feafbd9a07005c4b653ef2fe1153fba4b9417
Reviewed-on: https://review.typo3.org/58631
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/core/Classes/Utility/GeneralUtility.php