Task #497

Remove createDirectoryRecursively() and replace by recursive mkdir() call

Added by Karsten Dambekalns over 13 years ago. Updated about 11 years ago.

Status:
Resolved
Priority:
Should have
Category:
Utility
Target version:
-
Start date:
2008-05-09
Due date:
% Done:

100%

Estimated time:
0.00 h
Sprint:
PHP Version:
Has patch:
Complexity:

Description

createDirectoryRecursively() in F3_FLOW3_Utility_Files can be removed, as PHP since 5.0.0 supports creating directories recursively with mkdir() through a simple method argument:
mkdir ( string $pathname [, int $mode [, bool $recursive ]] )


Related issues

Related to TYPO3.Flow - Bug #491: FLOW3 not working under WindowsResolvedKarsten Dambekalns2008-05-08

Actions
#1

Updated by Karsten Dambekalns over 13 years ago

Removing this is not a good idea, as we currently have control over the umask/mode when creating the directories, we need to keep this. Thus it seems better to keep the method but simplify it's internals to just use native PHP support for recursion.

#2

Updated by Karsten Dambekalns over 13 years ago

  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100

Applied in changeset r822.

Also available in: Atom PDF