Actions
Bug #27530
closed[TASK] Cleanup unnecessary calls to reset() or current()
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Miscellaneous
Target version:
-
Start date:
2011-06-18
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
4.6
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
It's a myth that calling reset() before looping with foreach()
makes any difference. And also calling reset() before fetching
the first element with current() afterwards is somewhat
redundant.
Updated by Stefan Neufeind over 13 years ago
Updated by Mr. Hudson over 13 years ago
Patch set 2 of change I055760fdd1960dbfa8b574523c8b88ea84f619f8 has been pushed to the review server.
It is available at http://review.typo3.org/2792
Updated by Stefan Neufeind over 13 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset 54132b82c7337272e0718b80443e249eb2e8ad14.
Updated by Xavier Perseguers over 12 years ago
- Status changed from Resolved to Closed
Actions