[TYPO3-core] RFC: #10098: t3lib_div::fixed_lgd_cs calls deprecated t3lib_div::fixed_lgd
Steffen Kamper
info at sk-typo3.de
Sun Jan 11 20:01:08 CET 2009
Hi Dmitry,
Dmitry Dulepov schrieb:
> Hi!
>
> Steffen Kamper wrote:
>> Description:
>> This is a contradiction as t3lib_div::fixed_lgd is commented with
>> "deprecated, use t3lib_div::fixed_lgd_cs instead"
>>
>> Attached patch solves it by calling t3lib_cs->crop in any case
>
> What does it solve exactly? What is the problem?
>
Problem:
t3lib_div::fixed_lgd is marked as deprecated.
Comment says: use t3lib_div::fixed_lgd_cs instead
But t3lib_div::fixed_lgd_cs calls t3lib_div::fixed_lgd if
$GLOBALS['LANG'] isn't available. So this is a contradiction and makes
it impossible to remove t3lib_div::fixed_lgd later.
vg Steffen
More information about the TYPO3-team-core
mailing list