[TYPO3-dev] Update database when saving plugin flexform configuration in BE?

Dmitry Dulepov dmitry.dulepov at gmail.com
Wed Sep 9 20:17:16 CEST 2009


Hi!

JoH asenau wrote:
> To get the superfluous loop from the core instead? ;-)

No. For three reasons:
- to make my code shorter
- to make my code more readable
- to ensure that no memory leaks left

There is a difference in the core loop and in this loop. In Gerhard's case he knows that there will be a single result but does the loop. This is unnecessary. Core is different: it offers API function that is universal. Loop for this case is ok there.

-- 
Dmitry Dulepov
Facebook: http://www.facebook.com/dmitryd
Twitter: http://twitter.com/dmitryd
Skype: liels_bugs




More information about the TYPO3-dev mailing list