[BUGFIX] No exceptions in GeneralUtility::rmdir 14/40914/3
authorAlexander Opitz <opitz.alexander@googlemail.com>
Fri, 3 Jul 2015 12:47:14 +0000 (14:47 +0200)
committerNicole Cordes <typo3@cordes.co>
Fri, 3 Jul 2015 20:51:29 +0000 (22:51 +0200)
commit6b73c2afac85fb5e0a27e5848db94660647df522
tree6d280c26e5ce49ceaa2348f947650ca1369366e2
parentb551dde898d4497a6c6a5702155c3b874ccda293
[BUGFIX] No exceptions in GeneralUtility::rmdir

The API returns TRUE on success and FALSE if something went wrong.
So we need to prevent that the ErrorHandler comes up, as it throws
Core\Error exceptions.

Resolves: #67897
Releases: master, 6.2
Change-Id: I2912241dd3c9a1b9928b4449ebc16897699fa9b5
Reviewed-on: http://review.typo3.org/40914
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
typo3/sysext/core/Classes/Utility/GeneralUtility.php