[TYPO3-core] RFC #8259: Cleanup: Call to t3lib_div::devLog() without key

Francois Suter fsuter at cobweb.ch
Fri Apr 25 20:39:28 CEST 2008


This is an SVN patch request.

Type: Code cleanup

Bugtracker references:
http://bugs.typo3.org/view.php?id=8259

Branches:
4.2, Trunk

Problem:
typo3/template.php makes a call to t3lib::devLog() without any key. This 
makes it difficult to know where this log entry is coming from (and 
nearly useless unless you know).

Solution:
Set "template" as a key, since it is the name of the class and it is 
what other core classes do (t3lib_auth, t3lib_db, etc.).

Notes:
Maybe "typo3/template.php" would be better, since just "template" is 
somewhat ambiguous.

Cheers

-- 

Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bug8259.patch
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080425/04d2688c/attachment.txt 


More information about the TYPO3-team-core mailing list