Project

General

Profile

Actions

Bug #27530

closed

[TASK] Cleanup unnecessary calls to reset() or current()

Added by Christian Kuhn over 13 years ago. Updated over 11 years ago.

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.

Actions #2

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

Actions #3

Updated by Stefan Neufeind over 13 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100
Actions #4

Updated by Xavier Perseguers over 12 years ago

  • Status changed from Resolved to Closed
Actions #5

Updated by Ernesto Baschny over 11 years ago

  • Target version deleted (1281)
Actions

Also available in: Atom PDF