[TYPO3-dev] Extension Manager UPDATE! function
Stanislas Rolland
typo3 at sjbr.ca
Sun Jul 7 22:04:13 CEST 2013
Le 2013-07-07 14:07, Jigal van Hemert a écrit :
>
> Philipp is right here. The technical details:
>
> - the EM calls the function access() in the class ext_update in the file
> class.ext_update.php
> - if access() returns TRUE the update icon will be shown with a link to
> call the main() function in ext_update
> - in static_info_tables access() just returns TRUE and thus the update
> icon is always shown
>
> If static_info_tables could device a simple and fast test that would
> determine if the conversion needed to be done it could use that in the
> access() function to control the update icon.
Code inspection of
TYPO3\CMS\Extensionmanager\Utility\UpdateScriptUtility and of
TYPO3\CMS\Extensionmanager\ViewHelpers\UpdateScriptViewHelper, as well
as testing, will reveal that this is not so, at least in TYPO3
6.1.2-dev. If an update script exists, the update icon will always be
shown even if the access() function returns always FALSE.
Regards,
Stanislas
More information about the TYPO3-dev
mailing list