Breaking: #96205 - Removal of last relativeToCurrentScript remains¶
See forge#96205
Description¶
Due to the removal of relative paths in the FAL API (forge#95027 and
forge#96201) the $usedPathsRelativeToCurrentScript
argument in
media renderers render()
method got obsolete. The same applies to
the $relativeToCurrentScript
argument of Avatar->getUrl()
.
Therefore, $usedPathsRelativeToCurrentScript
is removed as last
argument from following PHP class methods:
\TYPO3\CMS\Core\Resource\Rendering\AudioTagRenderer->render()
\TYPO3\CMS\Core\Resource\Rendering\FileRendererInterface->render()
\TYPO3\CMS\Core\Resource\Rendering\VideoTagRenderer->render()
\TYPO3\CMS\Core\Resource\Rendering\VimeoRenderer->render()
\TYPO3\CMS\Core\Resource\Rendering\YoutubeRenderer->render()
Further is $relativeToCurrentScript
removed as last argument
from \TYPO3\CMS\Backend\Backend\Avatar->getUrl()
.
Impact¶
Passing the removed argument to one of the mentioned methods does no longer have any effect.
Affected Installations¶
Installations, passing the removed argument to one of the mentioned methods, which is rather unlikely as those methods are usually not called by extension code directly.
Migration¶
Remove the corresponding argument from the methods.