#20191t3lib_div::rmdir() causes PHP error instead of returning false
Description
According to the function’s documentation,
“ * return boolean true if rmdir went well!”
the expected behavior is that t3lib_div::rmdir() returns false in case anything went wrong.
Actually, as @rmdir() is not used but rmdir(), a PHP error occurs if for example write permissions were missing.
I propose also to use the @ for unlink() which is used within the function and might also produce an error message. Ditto for opendir() and readdir().
(This issue applies to version 4.2 as well as 4.3.)
(issue imported from #M10703)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.