[TYPO3-core] RFC: #10369: Show existance of deprecation log in Warning Box and possibility to show and delete
Susanne Moog
typo3 at susannemoog.de
Fri Feb 6 22:26:16 CET 2009
Hi Steffen,
Steffen Kamper schrieb:
> Hi Susanne,
>
> Susanne Moog schrieb:
>> Steffen Kamper schrieb:
>>> Problem:
>>> Since we have the depredation log there is no way except external tools
>>> to view or delete the log.
>>>
>>> Attached patch adds a link to the warning box and shows the logfil in a
>>> small div with a delete link, see screenshot.
>>
>> +1 by testing if you fix one small thing:
>>
>> I clicked on "view deprecation log" and after viewing it I thought, well
>> I've seen it now, let's delete it and clicked on "Delete Deprecation
>> Log". It deleted the log and redirected me back to the "About modules"
>> screen, where I still get the message "There are deprecated functions
>> called either from your Typoscript or from installed extensions. View
>> Logfile (2.1 KB)". Clicking on "view logfile" now results in a php
>> warning, as file_get_contents fails (obviously).
>>
>>
>
> absolutely right - the delete has to be done before check ;-) Update is
> attached.
wow, that was fast! +1
>
>> (Oh, another short question: is there any rule where one should use
>> $LANG and where $GLOBALS['LANG']?)
>>
>>
>
> we use $GLOBALS['LANG'] normally. Here i didn't wanted to mix cleanup
> with patch - they can be replaced in a seperate patch.
>
Ah, I see, thanks for explaining.
Susanne
More information about the TYPO3-team-core
mailing list