[TYPO3-core] RFC: #7861: Cleanup: t3lib_div::mkdir() should use mkdir() silently

Martin Kutschker martin.kutschker-n0spam at no5pam-blackbox.net
Sat Mar 15 18:00:29 CET 2008


Steffen Kamper schrieb:
> "Francois Suter" <fsuter at cobweb.ch> schrieb im Newsbeitrag 
> news:mailman.1.1205508061.3976.typo3-team-core at lists.netfielders.de...
>> This is an SVN patch request.
>>
>> Type: Code cleanup
>>
>> Bugtracker references:
>> http://bugs.typo3.org/view.php?id=7861
>>
>> Branches:
>> Trunk
>>
>> Problem:
>> t3lib_div::mkdir() calls the PHP function mkdir(), but it should call it
>> as @mkdir(), so that no output is returned when it fails.
>>
>> Also it doesn't return a proper false value when exiting with an error.
>>
>> Solution:
>> The proposed patch cleans this up. PHPdoc adjusted too.
>>
> 
> +1 after reading, this is the correct behaviour.

+1 from me as well.

Masi


More information about the TYPO3-team-core mailing list