[TYPO3-core] FYI72 #17663: Remove deprecated reduceColors() from t3lib_stdGraphic

Christian Kuhn lolli at schwarzbu.ch
Tue Feb 22 22:11:32 CET 2011


Attached patch will be committed to trunk in 72 hours if nobody objects.

Type: cleanup

BT: http://bugs.typo3.org/view.php?id=17663

Problem:
With the removal of gdlib 1 method reduceColors() in t3lib_stdGraphic 
was deprecated. It is scheduled for removal in 4.6.

Solution:
Remove method and calls.

Notes:
Calls to reduceColors() currently depend on 'if (!$this->truecolor)'. 
This internal variable is always true since 4.4 rev. 7781, issue #14441 
(the gdlib 1 support drop). So, it is safe to remove the variable, its 
calls and method reduceColors() now.


Regards
Christian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 17663.diff
Type: text/x-patch
Size: 5529 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20110222/74b6a7f1/attachment.bin>


More information about the TYPO3-team-core mailing list