[TYPO3-core] RFC: Clean up typo3/sysext/tstemplate_info/class.tx_tstemplateinfo.php

Ingmar Schlecht ingmar at typo3.org
Sat Nov 24 19:21:57 CET 2007


Looks good, +1.

cheers
Ingmar

Oliver Hader schrieb:
> This is a SVN patch request.
> 
> Problem:
> I came over typo3/sysext/tstemplate_info/class.tx_tstemplateinfo.php on
> researching for RFC #6817 and found some elderly code.
> 
> Solution:
> * change formatting of the code
> * exchange while(...=each()) with foreach() and remove reset()
> * exchange "..." constructs by '...'
> * exchange $array[key] by $array['key']
> * remove debug/testing code and comments
> * add PHPdoc for methods
> 
> Comments:
> This patch doesn't change any functionality and just cleans the
> mentioned file. But furthermore I tested if everything is still working
> for the "Info/Modify" part of the templates. I nobody objects, I'm going
> to commit this cleaner on 27th November 2007.
> 
> Branch: Trunk
> 
> 
> olly
> 


-- 
Ingmar Schlecht
TYPO3 Association Active Member


More information about the TYPO3-team-core mailing list