[TASK] Remove useless count function calls in stdWrap 78/27078/7
authorTim Lochmueller <tim@fruit-lab.de>
Mon, 27 Jan 2014 19:18:04 +0000 (20:18 +0100)
committerBenjamin Mack <benni@typo3.org>
Wed, 29 Jan 2014 18:11:32 +0000 (19:11 +0100)
commit96a1172675333836b1e9b49454c332c8eb56681a
tree44015fa451768cee4899e425f2074fb7a1ed755a
parent5f873f07b7c68b22d130ce7bf73b6cfaba581d20
[TASK] Remove useless count function calls in stdWrap

Remove two count calls in the often called stdWrap function
to increase the performance. Furthermore remove the
is_callable calls, because the hook interface take care
that the methods exist and are callable.

Resolves: #55372
Releases: 6.2
Change-Id: Ifc8f831a7b101c5c56f717c23024fae7b71b71a9
Reviewed-on: https://review.typo3.org/27078
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Michiel Roos
Tested-by: Michiel Roos
Reviewed-by: Xavier Perseguers
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php